public abstract class DigestLoginModule extends Object implements LoginModule
Modifier and Type | Field and Description |
---|---|
protected boolean |
_commitSucceeded |
protected static Logger |
_logger |
protected boolean |
_succeeded |
protected PrincipalImpl |
_userPrincipal |
Constructor and Description |
---|
DigestLoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
abort() |
boolean |
commit() |
protected abstract Enumeration<String> |
getGroups(String username) |
protected Realm |
getRealm() |
void |
initialize(Subject subject,
CallbackHandler handler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
boolean |
logout() |
protected static final Logger _logger
protected boolean _succeeded
protected boolean _commitSucceeded
protected PrincipalImpl _userPrincipal
public final void initialize(Subject subject, CallbackHandler handler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
public final boolean login() throws LoginException
login
in interface LoginModule
LoginException
public final boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public final boolean abort() throws LoginException
abort
in interface LoginModule
LoginException
public final boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
protected Realm getRealm()
protected abstract Enumeration<String> getGroups(String username)
Copyright © 2019. All rights reserved.