public final class DelegateLoginModule extends AbstractLoginModule
LoginModule. This is useful in order to be able to provide a
guarrantee that a UserPrincipal is always returned for
HttpServletRequest.getUserPrincipal() if any.callBackHandler| Constructor and Description |
|---|
DelegateLoginModule()
Default, no-arg constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort() |
boolean |
commit() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
boolean |
logout() |
getUsernameFromCallBack, getUsernamePasswordFromCallBackpublic void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
public boolean login()
throws LoginException
LoginExceptionpublic boolean commit()
throws LoginException
LoginExceptionpublic boolean abort()
throws LoginException
LoginExceptionpublic boolean logout()
throws LoginException
LoginExceptionCopyright © 2013. All Rights Reserved.