[security-dev 00754]: Re: Code review request: Undefined requesting URL in "java.net.Authenticator.getPasswordAuthentication()"

2009-04-15 Thread Max Wang
Hi Chris A new webrev is created at http://cr.openjdk.java.net/~weijun/6578647/webrev.01 Now all HttpCallerInfo creations are inline, so the diff is much clearer. There's one place I didn't call toLowerCase(), the call is moved into NegotiatorImpl right before the service principal name

[security-dev 01452]: code reviewer request: 6844193: support max_retries in krb5.conf

2009-12-09 Thread Max Wang
Hi Valerie Another RFE, please take a review: http://cr.openjdk.java.net/~weijun/6844193/webrev.02/ Basically, this RFE allows max_retries, kdc_timeout, and udp_preference_limit to be configurable in three layers: 1. hard coded defaults in JRE 2. global values in krb5.conf's [libdef

[security-dev 00015]: Retrieve the effective ProtectionDomains of a AccessControlContext?

2007-09-26 Thread Weijun Max Wang
Hi Guys What's the best way to find out what ProtectionDomains are effective currently (or for a given AccessControlContext)? For "effective", I mean those since the last doPrivileged call. Thanks Max

[security-dev 00031]: [Fwd: Re: JAVASEC - Problem running JAAS client from tutorial]

2008-01-02 Thread Weijun Max Wang
Hi All I've tried to disable realm name case check in JDK (equals -> equalsIgnoreCase), and it works. In fact, I do several experiments to change the case of principal names, realm names, service names and hostnames, and MSAD just doesn't care. This is another case of Microsoft's long term habit o

[security-dev 00032]: JGSS: Re-construct Credentials.acquireTGTFromCache

2008-01-02 Thread Weijun Max Wang
Hi All Current sun.security.krb5.Credentials's acquireTGTFromCache method looks like -- Cred acquireTGTFromCache(princ, fcache) { if (fcache not specified) { if (Windows) { cred = function { get default TGT from default file cache; if (found && etypeSupported) return i

[security-dev 00067]: JSSE performance survey

2008-02-27 Thread Weijun Max Wang
Hi Everyone We, the Java SE security group at Sun, are planning to do some performance analysis on various security components in Java. The first target is JSSE. I'm thinking of JGSS/Kerberos and AccessController permission check also. Do you have any particular experiences (or known issues, with

[security-dev 00082]: name list available?

2008-03-03 Thread Weijun Max Wang
Is there a name list for "Reviewed-by"? Thanks Max

[security-dev 00121]: Re: hg: jdk7/jsn/jdk: 6670362: HTTP/SPNEGO should work across realms

2008-03-20 Thread Weijun Max Wang
Hi Asaf Thanks for watching the list. :) Basically I want to encode "HTTP on host.server.com" into a service principal like "HTTP/[EMAIL PROTECTED]". By changing the nameType to GSSName.NT_HOSTBASED_SERVICE, it means the underlying Kerberos principal should be of the NT-SRV-HST type. According t