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 LoginModule
protected String[] retrieveLogin() throws LoginException
LoginException
public boolean login() throws LoginException
login
in interface LoginModule
LoginException
public boolean abort() throws LoginException
abort
in interface LoginModule
LoginException
public boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
Copyright © 2015 Nuxeo SA. All rights reserved.