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.

Classes:

Sample JAAS config

http://www.javaranch.com/journal/2008/04/authentication-using-JAAS.html

RanchLogin { com.javaranch.auth.RanchLoginModule required; };

LoginModule

http://www.avajava.com/tutorials/lessons/how-do-i-create-a-login-module.html

LoginContext lc = new LoginContext("Test", new TestCallbackHandler(name, password));
//...
public class TestLoginModule implements LoginModule {
}

Test {
   test.TestLoginModule required testOption=here_is_an_option;
};

Java/Kerberos (last edited 2015-04-24 21:37:26 by 188)