public abstract class SAML2CommonLoginModule
extends org.jboss.security.auth.spi.UsernamePasswordLoginModule
The password sent to this module should be ServiceProviderSAMLContext.EMPTY_PASSWORD
The username is available from ServiceProviderSAMLContext.getUserName() and roles is available from
ServiceProviderSAMLContext.getRoles(). If the roles is null, then plugged in login modules in the stack have to
provide the roles.
| Constructor and Description |
|---|
SAML2CommonLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected Principal |
getIdentity() |
protected Group[] |
getRoleSets() |
protected String |
getUsersPassword() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
createPasswordHash, getCredentials, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, login, safeClose, setValidateError, validatePasswordprotected String groupName
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModuleinitialize in class org.jboss.security.auth.spi.UsernamePasswordLoginModuleprotected Principal getIdentity()
getIdentity in class org.jboss.security.auth.spi.UsernamePasswordLoginModuleprotected Group[] getRoleSets() throws LoginException
getRoleSets in class org.jboss.security.auth.spi.AbstractServerLoginModuleLoginExceptionprotected String getUsersPassword() throws LoginException
getUsersPassword in class org.jboss.security.auth.spi.UsernamePasswordLoginModuleLoginExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.