RFR 8200468: Port the native GSS-API bridge to Windows

Weijun Wang weijun.wang at oracle.com
Wed Apr 4 02:19:46 UTC 2018


Hi All

Please take a review at

  http://cr.openjdk.java.net/~weijun/8200468/webrev.00/

Like in *nix, native GSS-API bridge is turned on by setting -Dsun.security.jgss.native=true. Please note there is no default native GSS-API library on Windows and you need to supply your own, like this:

 java -Dsun.security.jgss.native=true -Dsun.security.jgss.lib=/path/to/gssapi64.dll App ...

You can manually test the change with

 jtreg -Dnative.krb5.libs=j=,n=/path/to/gssapi64.dll test/jdk/sun/security/krb5/auto/BasicProc.java

Thanks
Max

p.s. You can get a gssapi64.dll from https://web.mit.edu/KERBEROS/kfw-4.1/kfw-4.1.html.


More information about the security-dev mailing list