public class TaasLoginModule extends Object implements LoginModule
| Modifier and Type | Field and Description |
|---|---|
protected CallbackHandler |
callbackHandler |
protected Set<TaasPrincipalWrapper> |
principals |
protected TaasUser |
privateCredential |
protected Subject |
subject |
protected TaasService |
taasService |
| Constructor and Description |
|---|
TaasLoginModule() |
protected Subject subject
protected CallbackHandler callbackHandler
protected Set<TaasPrincipalWrapper> principals
protected TaasUser privateCredential
protected TaasService taasService
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 commit()
throws LoginException
commit in interface LoginModuleLoginExceptionpublic boolean abort()
throws LoginException
abort in interface LoginModuleLoginExceptionpublic boolean logout()
throws LoginException
logout in interface LoginModuleLoginExceptionCopyright © 2004-2012 CodeLutin. All Rights Reserved.