public class RunAsLoginModule extends Object implements LoginModule
| Constructor and Description |
|---|
RunAsLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort()
Pop the run as role using the SecurityAssociation.popRunAsIdentity method
|
boolean |
commit()
Calls abort to pop the run-as role
|
void |
initialize(Subject subject,
CallbackHandler handler,
Map<String,?> sharedState,
Map<String,?> options)
Look for the roleName option that specifies the role to use as the
run-as role.
|
boolean |
login()
Push the run as role using the SecurityAssociation.pushRunAsIdentity method
|
boolean |
logout() |
public void initialize(Subject subject, CallbackHandler handler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModulepublic boolean login()
login in interface LoginModuleSecurityContextAssociation.pushRunAsIdentity(org.jboss.security.RunAs)public boolean commit()
commit in interface LoginModulepublic boolean abort()
abort in interface LoginModuleSecurityContextAssociation.popRunAsIdentity()public boolean logout()
logout in interface LoginModuleCopyright © 2017 JBoss by Red Hat. All rights reserved.