Trouble with SPNEGO

2017-10-11 Thread tom
I'm having trouble with getting spnego to work, and was hoping someone might help. I'm trying to perform a "Negotiate" authentication from a browser. My browser is Chrome on Windows 10. The endpoint I'm connecting to us a standard jetty server (it's wrapped up in karaf), but I've implemented the

Re: Trouble with SPNEGO

2017-10-11 Thread tom
> 1.3.6.1.4.1.311.2.2.10 is NTLM which has a much smaller token size. Java > does not support NTLM as a GSS-API mechanism. Yes. So it looks like the browser is preferring NTLM and pre-emptively sending a token for that. > I am not sure how this happens. Normally you need to configure th

[security-dev 00607]: Re: integrate jvm with selinux

2009-02-23 Thread Tom Hawtin
, but you might be interested in the JavaOne 2007 presentation "Leveraging Solaris Trusted Extensions to Implement Platform Security Services for the Java Language". http://developers.sun.com/learning/javaoneonline/j1sessn.jsp?sessn=TS-1427&yr=2007&track=5 Tom Hawtin

Re: Code review request, 7127524 P11TlsPrfGenerator has anonymous inner class with serialVersionUID

2013-08-05 Thread Tom Hawtin
can't give guarantees about serialisation, that doesn't mean that it doesn't. We probably don't want to upset anything relying upon it. Having said that, in this case it doesn't seem to be reasonably accessible. Shame there isn't a good way of marking a class non-serialisable. Tom

Re: Redundant check in java.security.BasicPermission.implies()

2013-11-29 Thread Tom Hawtin
ermission does not correctly specify behaviour of wildcards (should probably have a CR) Tom

Re: Redundant check in java.security.BasicPermission.implies()

2013-12-01 Thread Tom Hawtin
l non-empty name, including those with a trailing dot. If I had to invent a meaning of the trailing dot, I'd say it was superfluous, which matches the code. As usual with ad hoc text formats the have parsing spread around the code and no clear specification, they're a bit of a mess. Tom

Re: JEP Review Request: Improve Security Manager Performance

2014-07-23 Thread Tom Hawtin
privileged action object Tom

Re: JEP Review Request: Improve Security Manager Performance

2014-07-24 Thread Tom Hawtin
On 23/07/2014 14:40, David M. Lloyd wrote: On 07/23/2014 07:07 AM, Tom Hawtin wrote: On 23/07/2014 05:26, David M. Lloyd wrote: • Always have static initialization blocks be privileged (this does require users to be cognizant of this fact when writing static blocks) If we were following

Re: URLStreamHandler.getHostAddress() performance

2014-11-25 Thread Tom Hawtin
the previously null URL.hostAddress, and locking based on the value of URL.getHost (don't synchronise on String (that'd be a little like synchronising on URL!)!). There's probably several places in the Java library doing something similar with Maps and Futures. Tom

Re: URLStreamHandler.getHostAddress() performance

2014-11-25 Thread Tom Hawtin
e. So switching from an effectively global lock to a lock based on hostname value is unlikely to help performance. Tom

Re: 6622002 breaks JTable's default renderers?

2010-12-07 Thread Tom Hawtin
nt to start adding to those lists of methods. Retrospectively relaxing access checking on existing methods would potentially open flaws. A sensible fix is to stop JTable exploiting the vulnerability. There are a variety of ways of doing so. Tom [1]http://java.sun.com/security/seccodeguide.html

Re: final inner class not final (was Re: Code review request: 7064075 Security libraries don't build with javac -Xlint:all, -deprecation -Werror)

2011-08-04 Thread Tom Rodriguez
ere's _11: Attr(#25) { // InnerClasses [] { // InnerClasses #4 #0 #0 8; } } // end InnerClasses tom On Aug 3, 2011, at 7:24 PM, Weijun Wang wrote: >> serialVersionUID warnings for classes that have had different >> generated serialVe

Re: JDK8 Code review request for 7133344: Document the java.security.properties system property feature in the java.security file

2012-07-02 Thread Tom Hawtin
properties file may be specified +# from the command line via the system property +# +#java.security.properties= I think that should be: +#-Djava.security.properties= Tom

Re: JDK8 Code review request for 7133344: Document the java.security.properties system property feature in the java.security file

2012-07-02 Thread Tom Hawtin
Looks good. Tom On 02/07/2012 16:54, Jason Uh wrote: Thanks for your comments. Please see updated webrev: http://cr.openjdk.java.net/~juh/7133344/webrev.01 Jason On 07/02/2012 08:45 AM, Tom Hawtin wrote: On 02/07/2012 16:00, Jason Uh wrote: This change is documentation for allowing a

Request for Review: AESCrypt.init performance JDK change

2012-07-16 Thread Deneau, Tom
-dimensional array of ints. This step used to be done in the routine setSubKey. -- Tom Deneau

RE: Request for Review: AESCrypt.init performance JDK change

2012-07-17 Thread Deneau, Tom
Alan -- Can you tell me the procedure I should follow? I have submitted hotspot webrevs before but not JDK webrevs? -- Tom -Original Message- From: Alan Bateman [mailto:alan.bate...@oracle.com] Sent: Tuesday, July 17, 2012 3:00 AM To: Deneau, Tom Cc: jdk7u-...@openjdk.java.net

RE: Code Review Request for 7107613, 7107616, 7185471

2012-07-27 Thread Deneau, Tom
Valerie, Max, Xuelei -- >From one who is not too familiar with the crypto architecture, can you tell me under which provider scenario should we see gains on 7107613 and 7107616? -- Tom -Original Message- From: Valerie (Yu-Ching) Peng [mailto:valerie.p...@oracle.com] Sent: Thurs

Re: 8008793: SecurityManager.checkXXX behavior not specified for methods that check AWTPermission and AWT not present

2013-02-25 Thread Tom Hawtin
even with a fully trusted acc the permission check would fail. Checking AllPermission in that case would make more sense. Tom

Re: StackOverflowError - Java 9 Build 181

2017-09-19 Thread Tom Hood
that I'll have the output if it happens again. I also have the logging and tracing enabled in the java control panel. -- Tom On Tue, Sep 19, 2017 at 12:13 PM, Sean Mullan wrote: > Cross-posting to security-dev as this is more relevant to that list and > bcc-ing core-libs-dev. >

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Tom Hood
iles"\Java\jre9b181\bin\javaws -J*-Djava.security.debug=all* %1 which also didn't work. -- Tom On Wed, Sep 20, 2017 at 12:56 PM, mandy chung wrote: > FYI. jdk.javaws is granted with AllPermissions in > conf/security/javaws.policy. Maybe javaws.policy is not augmented to the

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Tom Hood
In case useful, our jnlp file also contains this: On Wed, Sep 20, 2017 at 2:14 PM, Tom Hood wrote: > Sean, > > I'll add those lines to the lib/security/default.policy file as you > suggested. I left the app running overnight and came in this morning and > it was s

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Tom Hood
nning with the JRE. I haven't tried running with the JDK installation. -- Tom On Wed, Sep 20, 2017 at 2:17 PM, Tom Hood wrote: > In case useful, our jnlp file also contains this: > > > > > > On Wed, Sep 20, 2017 at 2:14 PM, Tom Hood wrote: > >> Sean, >&g

JNLP launched legacy app needs to override jdk.tls.disabledAlgorithms

2018-05-21 Thread Tom Hood
I have the source code for sun.* that matches up with 8u172, otherwise I would try to find where else that property is read. Even if I could get the reflection to work, it seems all too fragile and likely to break in future Java updates. I'd prefer a different approach. Any suggestions? Thank you, -- Tom

Re: JNLP launched legacy app needs to override jdk.tls.disabledAlgorithms

2018-05-22 Thread Tom Hood
g java.security properties, you use one > equals, “=“. To override you use 2, “==‘. So you may want something like: > > java-vm-args="-Djava.security.properties==override_file" > > > Tony > > On May 21, 2018, at 7:48 PM, Tom Hood wrote: > > Hi, > > Our

Re: JNLP launched legacy app needs to override jdk.tls.disabledAlgorithms

2018-05-22 Thread Tom Hood
e the problem that you do not get javaws updates starting on > January (easily) anymore. > > JNLP does not allow to overwrite random properties for the started app. > > Gruss > Bernd > -- > http://bernd.eckenfels.net > -- > *From:* security-