public class AuthenticationLoginModule extends Object implements LoginModule
| Modifier and Type | Field and Description | 
|---|---|
| protected CallbackHandler | callbackHandler | 
| protected Principal | principal | 
| protected Map | sharedState | 
| protected Subject | subject | 
| Constructor and Description | 
|---|
| AuthenticationLoginModule() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | abort() | 
| Principal | authenticate(String[] login) | 
| boolean | commit() | 
| void | initialize(Subject subject,
          CallbackHandler callbackHandler,
          Map<String,?> sharedState,
          Map<String,?> options) | 
| boolean | login() | 
| boolean | logout() | 
| protected String[] | retrieveLogin() | 
protected CallbackHandler callbackHandler
protected Map sharedState
public AuthenticationLoginModule()
public Principal authenticate(String[] login)
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModuleprotected String[] retrieveLogin() throws LoginException
LoginExceptionpublic boolean login() throws LoginException
login in interface LoginModuleLoginExceptionpublic boolean abort() throws LoginException
abort in interface LoginModuleLoginExceptionpublic boolean commit() throws LoginException
commit in interface LoginModuleLoginExceptionpublic boolean logout() throws LoginException
logout in interface LoginModuleLoginExceptionCopyright © 2018 Nuxeo. All rights reserved.