Login
public Login(java.lang.String loginContextName,
javax.security.auth.callback.CallbackHandler callbackHandler)
throws javax.security.auth.login.LoginException
LoginThread constructor. The constructor starts the thread used
to periodically re-login to the Kerberos Ticket Granting Server.
- Parameters:
loginContextName
- name of section in JAAS file that will be use to login.
Passed as first param to javax.security.auth.login.LoginContext().callbackHandler
- Passed as second param to javax.security.auth.login.LoginContext().
- Throws:
javax.security.auth.login.LoginException
- Thrown if authentication fails.