Class DigestLoginModule
- java.lang.Object
-
- com.sun.enterprise.security.ee.auth.login.DigestLoginModule
-
- All Implemented Interfaces:
LoginModule
- Direct Known Subclasses:
JDBCDigestLoginModule
public abstract class DigestLoginModule extends Object implements LoginModule
- Author:
- K.Venugopal@sun.com
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean_commitSucceededprotected static Logger_loggerprotected boolean_succeededprotected PrincipalImpl_userPrincipal
-
Constructor Summary
Constructors Constructor Description DigestLoginModule()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanabort()booleancommit()protected abstract Enumeration<String>getGroups(String username)protected RealmgetRealm()voidinitialize(Subject subject, CallbackHandler handler, Map<String,?> sharedState, Map<String,?> options)booleanlogin()booleanlogout()
-
-
-
Field Detail
-
_logger
protected static final Logger _logger
-
_succeeded
protected boolean _succeeded
-
_commitSucceeded
protected boolean _commitSucceeded
-
_userPrincipal
protected PrincipalImpl _userPrincipal
-
-
Method Detail
-
initialize
public final void initialize(Subject subject, CallbackHandler handler, Map<String,?> sharedState, Map<String,?> options)
- Specified by:
initializein interfaceLoginModule
-
login
public final boolean login() throws LoginException- Specified by:
loginin interfaceLoginModule- Throws:
LoginException
-
commit
public final boolean commit() throws LoginException- Specified by:
commitin interfaceLoginModule- Throws:
LoginException
-
abort
public final boolean abort() throws LoginException- Specified by:
abortin interfaceLoginModule- Throws:
LoginException
-
logout
public final boolean logout() throws LoginException- Specified by:
logoutin interfaceLoginModule- Throws:
LoginException
-
getRealm
protected Realm getRealm()
-
getGroups
protected abstract Enumeration<String> getGroups(String username)
-
-