public class JDBCLoginModule
extends org.jboss.security.auth.spi.UsernamePasswordLoginModule
principalsQuery Query used to extract the password for a given user. By default this value is "SELECT password FROM principals WHERE principal=?" dsJndiName JNDI name of the datasource to use. Default value is java:/HypericDS
| Constructor and Description |
|---|
JDBCLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected Group[] |
getRoleSets() |
protected String |
getUsersPassword() |
void |
initialize(Subject subj,
CallbackHandler handler,
Map shared_state,
Map opts) |
createPasswordHash, getCredentials, getIdentity, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, login, safeClose, setValidateError, validatePasswordpublic void initialize(Subject subj, CallbackHandler handler, Map shared_state, Map opts)
initialize in interface LoginModuleinitialize in class org.jboss.security.auth.spi.UsernamePasswordLoginModuleUsernamePasswordLoginModule.initialize(Subject, CallbackHandler, Map, Map)protected String getUsersPassword() throws LoginException
getUsersPassword in class org.jboss.security.auth.spi.UsernamePasswordLoginModuleLoginExceptionUsernamePasswordLoginModule.getUsersPassword()protected Group[] getRoleSets() throws LoginException
getRoleSets in class org.jboss.security.auth.spi.AbstractServerLoginModuleLoginExceptionAbstractServerLoginModule.getRoleSets()Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.