|
|
com.sun.grid.grm.security.role
|
|||||||||||||||||||||||||||||||||||||||||||||||||
| Constructor Summary | |
|---|---|
RoleLoginModule()
|
|
| Method Summary | |
|---|---|
boolean |
abort()
Method to abort the authentication process (phase 2). |
boolean |
commit()
Method to commit the authentication process (phase 2). |
void |
initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map<java.lang.String,?> sharedState,
java.util.Map<java.lang.String,?> options)
initialize the LoginModule. |
boolean |
login()
Method to authenticate a Subject (phase 1). |
boolean |
logout()
Method which logs out a Subject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoleLoginModule()
| Method Detail |
|---|
public final void initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map<java.lang.String,?> sharedState,
java.util.Map<java.lang.String,?> options)
throws java.lang.IllegalArgumentException
initialize in interface javax.security.auth.spi.LoginModulesubject - the current subjectcallbackHandler - the callback handlersharedState - map for storing shared statesoptions - options for the LoginModules
java.lang.IllegalArgumentException - if the role file can not be readpublic final boolean login()
Subject (phase 1).
login in interface javax.security.auth.spi.LoginModuletrue if the prinicipals of the current subject matches
to at least one role.
public final boolean commit()
throws javax.security.auth.login.LoginException
RolePrincipals to the current subject.
commit in interface javax.security.auth.spi.LoginModuleLoginModule should be ignored.
javax.security.auth.login.LoginException - if the commit fails
public final boolean abort()
throws javax.security.auth.login.LoginException
abort in interface javax.security.auth.spi.LoginModuleLoginModule should be ignored.
javax.security.auth.login.LoginException - if the abort fails
public final boolean logout()
throws javax.security.auth.login.LoginException
Subject.
logout in interface javax.security.auth.spi.LoginModuleLoginModule should be ignored.
javax.security.auth.login.LoginException - if the logout fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
![]() |
By any use of this Website, you agree to be bound by these Policies and Terms of Use. |