org.jboss.test
Class LoginModulesTestCase.TestLoginModule
java.lang.Object
org.jboss.security.auth.spi.AbstractServerLoginModule
org.jboss.security.auth.spi.UsernamePasswordLoginModule
org.jboss.test.LoginModulesTestCase.TestLoginModule
- All Implemented Interfaces:
- LoginModule
- Direct Known Subclasses:
- LoginModulesTestCase.HashTestLoginModule
- Enclosing class:
- LoginModulesTestCase
- public static class LoginModulesTestCase.TestLoginModule
- extends UsernamePasswordLoginModule
Method Summary |
protected Group[] |
getRoleSets()
Overriden by subclasses to return the Groups that correspond to the
to the role sets assigned to the user. |
protected String |
getUsersPassword()
This represents the 'true' password |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginModulesTestCase.TestLoginModule
public LoginModulesTestCase.TestLoginModule()
getRoleSets
protected Group[] getRoleSets()
- Description copied from class:
AbstractServerLoginModule
- Overriden by subclasses to return the Groups that correspond to the
to the role sets assigned to the user. Subclasses should create at
least a Group named "Roles" that contains the roles assigned to the user.
A second common group is "CallerPrincipal" that provides the application
identity of the user rather than the security domain identity.
- Specified by:
getRoleSets
in class AbstractServerLoginModule
- Returns:
- Group[] containing the sets of roles
getUsersPassword
protected String getUsersPassword()
- This represents the 'true' password
- Specified by:
getUsersPassword
in class UsernamePasswordLoginModule
- Returns:
- the valid password String
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.