|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.auth.spi.RunAsLoginModule
public class RunAsLoginModule
A login module that establishes a run-as role for the duration of the login phase of authentication. It can be used to allow another login module interact with a secured EJB that provides authentication services.
Constructor Summary | |
---|---|
RunAsLoginModule()
|
Method Summary | |
---|---|
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 sharedState,
Map 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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RunAsLoginModule()
Method Detail |
---|
public void initialize(Subject subject, CallbackHandler handler, Map sharedState, Map options)
initialize
in interface LoginModule
public boolean login()
login
in interface LoginModule
SecurityAssociation.pushRunAsIdentity(RunAsIdentity)
public boolean commit()
commit
in interface LoginModule
public boolean abort()
abort
in interface LoginModule
SecurityAssociation.popRunAsIdentity()
public boolean logout()
logout
in interface LoginModule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |