Package org.teiid.jboss
Class SimpleLoginModule
- java.lang.Object
-
- org.jboss.security.auth.spi.AbstractServerLoginModule
-
- org.jboss.security.auth.spi.UsernamePasswordLoginModule
-
- org.teiid.jboss.SimpleLoginModule
-
- All Implemented Interfaces:
LoginModule
public class SimpleLoginModule extends org.jboss.security.auth.spi.UsernamePasswordLoginModule
A simple server login module to creates subject with passed in name and null password
-
-
Constructor Summary
Constructors Constructor Description SimpleLoginModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Group[]
getRoleSets()
protected String
getUsersPassword()
protected boolean
validatePassword(String inputPassword, String expectedPassword)
-
Methods inherited from class org.jboss.security.auth.spi.UsernamePasswordLoginModule
createPasswordHash, getCredentials, getIdentity, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, initialize, login, safeClose, setValidateError
-
-
-
-
Method Detail
-
validatePassword
protected boolean validatePassword(String inputPassword, String expectedPassword)
- Overrides:
validatePassword
in classorg.jboss.security.auth.spi.UsernamePasswordLoginModule
-
getUsersPassword
protected String getUsersPassword() throws LoginException
- Specified by:
getUsersPassword
in classorg.jboss.security.auth.spi.UsernamePasswordLoginModule
- Throws:
LoginException
-
getRoleSets
protected Group[] getRoleSets() throws LoginException
- Specified by:
getRoleSets
in classorg.jboss.security.auth.spi.AbstractServerLoginModule
- Throws:
LoginException
-
-