Class AbstractPasswordCredentialLoginModule
- java.lang.Object
-
- org.jboss.security.auth.spi.AbstractServerLoginModule
-
- org.picketbox.datasource.security.AbstractPasswordCredentialLoginModule
-
- All Implemented Interfaces:
LoginModule
- Direct Known Subclasses:
CallerIdentityLoginModule,ConfiguredIdentityLoginModule,JaasSecurityDomainIdentityLoginModule,PBEIdentityLoginModule,SecureIdentityLoginModule
public abstract class AbstractPasswordCredentialLoginModule extends AbstractServerLoginModule
A base login module that handlesPasswordCredentials- Version:
- $Revision: 71545 $
- Author:
- David Jencks, Scott.Stark@jboss.org
- See Also:
PasswordCredential
-
-
Field Summary
-
Fields inherited from class org.jboss.security.auth.spi.AbstractServerLoginModule
callbackHandler, jbossModuleName, log, loginOk, options, principalClassModuleName, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass
-
-
Constructor Summary
Constructors Constructor Description AbstractPasswordCredentialLoginModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanlogout()Remove the user identity and roles added to the Subject during commit.protected voidremoveCredentials()This removes the javax.security.auth.login.name and javax.security.auth.login.password settings from the sharteState map along with any PasswordCredential found in the PrivateCredentials set-
Methods inherited from class org.jboss.security.auth.spi.AbstractServerLoginModule
abort, addValidOptions, checkOptions, commit, createGroup, createIdentity, getCallerPrincipalGroup, getIdentity, getRoleSets, getUnauthenticatedIdentity, getUseFirstPass, initialize, login
-
-
-
-
Method Detail
-
logout
public boolean logout() throws LoginExceptionDescription copied from class:AbstractServerLoginModuleRemove the user identity and roles added to the Subject during commit.- Specified by:
logoutin interfaceLoginModule- Overrides:
logoutin classAbstractServerLoginModule- Returns:
- true always.
- Throws:
LoginException
-
removeCredentials
protected void removeCredentials()
This removes the javax.security.auth.login.name and javax.security.auth.login.password settings from the sharteState map along with any PasswordCredential found in the PrivateCredentials set
-
-