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 LoginModulepublic final boolean login()
throws LoginException
login in interface LoginModuleLoginExceptionpublic final boolean commit()
throws LoginException
commit in interface LoginModuleLoginExceptionpublic final boolean abort()
throws LoginException
abort in interface LoginModuleLoginExceptionpublic final boolean logout()
throws LoginException
logout in interface LoginModuleLoginExceptionprotected Realm getRealm()
protected abstract Enumeration<String> getGroups(String username)
Copyright © 2019. All rights reserved.