Kerberos

Kerberos Active Directory

http://docs.oracle.com/javase/7/docs/technotes/guides/security/jgss/tutorials/KerberosReq.html

System properties:

If you set values for these properties, then they override the default realm and KDC values specified in krb5.conf.

Interfaces:

Classes:

Interface javax.security.auth.callback.Callback provides means to pass info back to the login module.

Sample JAAS config for Krb5LoginModule

https://docs.oracle.com/javase/8/docs/technotes/guides/security/jgss/tutorials/LoginConfigFile.html

https://docs.oracle.com/javase/8/docs/technotes/guides/security/jgss/tutorials/AcnOnly.html

File jaas.conf:

JaasSample { com.sun.security.auth.module.Krb5LoginModule required; };

Sample Java ...

LoginContext lc = new LoginContext("JaasSample",   new TextCallbackHandler());

The LoginModule will call the CallbackHandler to fill out the required info by the LoginModule.

Other LoginModules

Java/Kerberos (last edited 2015-04-24 22:16:20 by 188)