org.jboss.security.auth.spi
Class AnonLoginModule
java.lang.Object
org.jboss.security.auth.spi.AbstractServerLoginModule
org.jboss.security.auth.spi.UsernamePasswordLoginModule
org.jboss.security.auth.spi.AnonLoginModule
- All Implemented Interfaces:
- LoginModule
public class AnonLoginModule
- extends UsernamePasswordLoginModule
A simple login module that simply allows for the specification of the
identity of unauthenticated users via the unauthenticatedIdentity property.
- Version:
- $Revision: 57203 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class org.jboss.security.auth.spi.UsernamePasswordLoginModule |
createPasswordHash, getCredentials, getIdentity, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, initialize, login, setValidateError, validatePassword |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnonLoginModule
public AnonLoginModule()
getRoleSets
protected Group[] getRoleSets()
throws LoginException
- Override to return an empty Roles set.
- Specified by:
getRoleSets
in class AbstractServerLoginModule
- Returns:
- an array comtaning an empty 'Roles' Group.
- Throws:
LoginException
getUsersPassword
protected String getUsersPassword()
throws LoginException
- Overriden to return null.
- Specified by:
getUsersPassword
in class UsernamePasswordLoginModule
- Returns:
- null always
- Throws:
LoginException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.