[9] RFR: 8075301: Tests for sun.security.krb5.principal system property

Sibabrata Sahoo sibabrata.sahoo at oracle.com
Mon Jun 29 18:14:20 UTC 2015


Hello,

 

Please review this fix for 9.

 

The test uses JAAS authentication over Kerberos. The kerberos5 principal name can be specified in the configuration entry by using the option principal. The principal can also be set using the system property sun.security.krb5.principal. This property is checked during login verification by Krb5LoginModule. If this property is not set, then the principal name from the configuration is used. In the case where the principal property is not set and the principal entry also does not exist in the configuration file, then user is prompted for the name depending on the underlying kerberos5 configuration, else the login failure occurs. 

 

Changes:

-          Added a new test.

-          Moved the startKDC() method from UnboundSSLUtils.java to KDC.java.

-          Updated the method reference accordingly in depending tests. 

 

Bug: https://bugs.openjdk.java.net/browse/JDK-8075301

Webrev: 

HYPERLINK "http://cr.openjdk.java.net/%7Easmotrak/siba/8075301/webrev.00/"http://cr.openjdk.java.net/~asmotrak/siba/8075301/webrev.00/

 

Thanks,

Siba

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20150629/3493b26f/attachment.htm>


More information about the security-dev mailing list