public final class TachyonLoginModule extends Object implements LoginModule
| Constructor and Description |
|---|
TachyonLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort()
Aborts the authentication (second phase).
|
boolean |
commit()
Commits the authentication (second phase).
|
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login()
Authenticates the user (first phase).
|
boolean |
logout()
Logs out the user.
|
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModulepublic boolean login()
throws LoginException
login in interface LoginModuleLoginExceptionpublic boolean abort()
throws LoginException
abort in interface LoginModuleLoginExceptionpublic boolean commit()
throws LoginException
commit in interface LoginModuleLoginException - if the user extending a specific Principal is not found.public boolean logout()
throws LoginException
logout in interface LoginModuleLoginException - if logout failsCopyright © 2015. All Rights Reserved.