@Deprecated public class JaasSecurityDomainIdentityLoginModule extends AbstractPasswordCredentialLoginModule
callbackHandler, jbossModuleName, log, loginOk, options, principalClassModuleName, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass| Constructor and Description |
|---|
JaasSecurityDomainIdentityLoginModule()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort()
Deprecated.
Method to abort the authentication process (phase 2).
|
boolean |
commit()
Deprecated.
Method to commit the authentication process (phase 2).
|
protected Principal |
getIdentity()
Deprecated.
Overriden by subclasses to return the Principal that corresponds to
the user primary identity.
|
protected Group[] |
getRoleSets()
Deprecated.
Overriden by subclasses to return the Groups that correspond to the
to the role sets assigned to the user.
|
void |
initialize(Subject subject,
CallbackHandler handler,
Map sharedState,
Map options)
Deprecated.
Initialize the login module.
|
boolean |
login()
Deprecated.
Looks for javax.security.auth.login.name and javax.security.auth.login.password
values in the sharedState map if the useFirstPass option was true and returns
true if they exist.
|
logout, removeCredentialsaddValidOptions, checkOptions, createGroup, createIdentity, getCallerPrincipalGroup, getUnauthenticatedIdentity, getUseFirstPasspublic JaasSecurityDomainIdentityLoginModule()
public void initialize(Subject subject, CallbackHandler handler, Map sharedState, Map options)
AbstractServerLoginModuleinitialize in interface LoginModuleinitialize in class AbstractServerLoginModulesubject - the Subject to update after a successful login.handler - the CallbackHandler that will be used to obtain the
the user identity and credentials.sharedState - a Map shared between all configured login module instancesoptions - the parameters passed to the login module.public boolean login()
throws LoginException
AbstractServerLoginModulelogin in interface LoginModulelogin in class AbstractServerLoginModuleLoginExceptionpublic boolean commit()
throws LoginException
AbstractServerLoginModulecommit in interface LoginModulecommit in class AbstractServerLoginModuleLoginExceptionSubject;,
Group;public boolean abort()
AbstractServerLoginModuleabort in interface LoginModuleabort in class AbstractServerLoginModuleprotected Principal getIdentity()
AbstractServerLoginModulegetIdentity in class AbstractServerLoginModuleprotected Group[] getRoleSets() throws LoginException
AbstractServerLoginModulegetRoleSets in class AbstractServerLoginModuleLoginExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.