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, getUsernamePasswordFromCallBack
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
public boolean login() throws LoginException
LoginException
public boolean commit() throws LoginException
LoginException
public boolean abort() throws LoginException
LoginException
public boolean logout() throws LoginException
LoginException
Copyright © 2013. All rights reserved.