public class RealmDirectLoginModule
extends org.jboss.security.auth.spi.UsernamePasswordLoginModule
| Constructor and Description |
|---|
RealmDirectLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createPasswordHash(String username,
String password,
String digestOption) |
protected Group[] |
getRoleSets() |
protected String |
getUsersPassword() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
protected boolean |
validatePassword(String inputPassword,
String expectedPassword) |
getCredentials, getIdentity, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, safeClose, setValidateErrorpublic void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModuleinitialize in class org.jboss.security.auth.spi.UsernamePasswordLoginModulepublic boolean login()
throws LoginException
login in interface LoginModulelogin in class org.jboss.security.auth.spi.UsernamePasswordLoginModuleLoginExceptionprotected String createPasswordHash(String username, String password, String digestOption) throws LoginException
createPasswordHash in class org.jboss.security.auth.spi.UsernamePasswordLoginModuleLoginExceptionprotected String getUsersPassword() throws LoginException
getUsersPassword in class org.jboss.security.auth.spi.UsernamePasswordLoginModuleLoginExceptionUsernamePasswordLoginModule.getUsersPassword()protected boolean validatePassword(String inputPassword, String expectedPassword)
validatePassword in class org.jboss.security.auth.spi.UsernamePasswordLoginModuleprotected Group[] getRoleSets() throws LoginException
getRoleSets in class org.jboss.security.auth.spi.AbstractServerLoginModuleLoginExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.