@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, removeCredentials
addValidOptions, checkOptions, createGroup, createIdentity, getCallerPrincipalGroup, getUnauthenticatedIdentity, getUseFirstPass
public JaasSecurityDomainIdentityLoginModule()
public void initialize(Subject subject, CallbackHandler handler, Map sharedState, Map options)
AbstractServerLoginModule
initialize
in interface LoginModule
initialize
in class AbstractServerLoginModule
subject
- 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
AbstractServerLoginModule
login
in interface LoginModule
login
in class AbstractServerLoginModule
LoginException
public boolean commit() throws LoginException
AbstractServerLoginModule
commit
in interface LoginModule
commit
in class AbstractServerLoginModule
LoginException
Subject;
,
Group;
public boolean abort()
AbstractServerLoginModule
abort
in interface LoginModule
abort
in class AbstractServerLoginModule
protected Principal getIdentity()
AbstractServerLoginModule
getIdentity
in class AbstractServerLoginModule
protected Group[] getRoleSets() throws LoginException
AbstractServerLoginModule
getRoleSets
in class AbstractServerLoginModule
LoginException
Copyright © 2021 JBoss by Red Hat. All rights reserved.