org.jboss.portal.identity.auth
Class IdentityLoginModule
java.lang.Object
UsernamePasswordLoginModule
org.jboss.portal.identity.auth.IdentityLoginModule
public class IdentityLoginModule
- extends UsernamePasswordLoginModule
A login module that uses the user module.
- Version:
- $Revision: 6803 $
- Author:
- Julien Viet, Thomas Heute
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userModuleJNDIName
protected java.lang.String userModuleJNDIName
roleModuleJNDIName
protected java.lang.String roleModuleJNDIName
userProfileModuleJNDIName
protected java.lang.String userProfileModuleJNDIName
membershipModuleJNDIName
protected java.lang.String membershipModuleJNDIName
additionalRole
protected java.lang.String additionalRole
havingRole
protected java.lang.String havingRole
IdentityLoginModule
public IdentityLoginModule()
initialize
public void initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map sharedState,
java.util.Map options)
getUserModule
protected UserModule getUserModule()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getRoleModule
protected RoleModule getRoleModule()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getUserProfileModule
protected UserProfileModule getUserProfileModule()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getMembershipModule
protected MembershipModule getMembershipModule()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getUsersPassword
protected java.lang.String getUsersPassword()
throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
validatePassword
protected boolean validatePassword(java.lang.String inputPassword,
java.lang.String expectedPassword)
getUserStatus
protected UserStatus getUserStatus(java.lang.String inputPassword)
getRoleSets
protected java.security.acl.Group[] getRoleSets()
throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
createIdentity
protected java.security.Principal createIdentity(java.lang.String username)
throws java.lang.Exception
- Subclass to use the PortalPrincipal to make the username easier to retrieve by the portal.
- Throws:
java.lang.Exception