org.picketlink.identity.federation.bindings.jboss.auth
public class RegExUserNameLoginModule extends org.jboss.security.auth.spi.UsernamePasswordLoginModule
Constructor and Description |
---|
RegExUserNameLoginModule() |
Modifier and Type | Method and Description |
---|---|
protected String |
extractUserName(String theName) |
protected Group[] |
getRoleSets() |
protected String |
getUsersPassword() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
createPasswordHash, getCredentials, getIdentity, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, safeClose, setValidateError, validatePassword
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
initialize
in class org.jboss.security.auth.spi.UsernamePasswordLoginModule
public boolean login() throws LoginException
login
in interface LoginModule
login
in class org.jboss.security.auth.spi.UsernamePasswordLoginModule
LoginException
protected String getUsersPassword() throws LoginException
getUsersPassword
in class org.jboss.security.auth.spi.UsernamePasswordLoginModule
LoginException
protected Group[] getRoleSets() throws LoginException
getRoleSets
in class org.jboss.security.auth.spi.AbstractServerLoginModule
LoginException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.