Class TokenAuthLoginModule
java.lang.Object
org.apache.kerby.kerberos.kerb.client.jaas.TokenAuthLoginModule
- All Implemented Interfaces:
LoginModule
This
LoginModule authenticates users using token.
tokenStr: token-string
tokenCache: token-cache-file
armorCache: armor-cache-file-
Field Details
-
PRINCIPAL
- See Also:
-
TOKEN
- See Also:
-
TOKEN_CACHE
- See Also:
-
ARMOR_CACHE
- See Also:
-
CREDENTIAL_CACHE
- See Also:
-
SIGN_KEY_FILE
- See Also:
-
-
Constructor Details
-
TokenAuthLoginModule
public TokenAuthLoginModule()
-
-
Method Details
-
initialize
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) - Specified by:
initializein interfaceLoginModule
-
login
- Specified by:
loginin interfaceLoginModule- Throws:
LoginException
-
commit
- Specified by:
commitin interfaceLoginModule- Throws:
LoginException
-
abort
- Specified by:
abortin interfaceLoginModule- Throws:
LoginException
-
logout
- Specified by:
logoutin interfaceLoginModule- Throws:
LoginException
-