|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.grid.jgdi.security.JGDILoginModule
public class JGDILoginModule
| Constructor Summary | |
|---|---|
JGDILoginModule()
|
|
| Method Summary | |
|---|---|
boolean |
abort()
Abort the login. |
boolean |
commit()
Commit the login (adds the principals to the subject) |
void |
initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map sharedState,
java.util.Map options)
Initialize the JGDILoginModule |
boolean |
login()
Perform the login. |
boolean |
logout()
Removes all previously added prinicipals from the subject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JGDILoginModule()
| Method Detail |
|---|
public void initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map sharedState,
java.util.Map options)
JGDILoginModule
initialize in interface javax.security.auth.spi.LoginModulesubject - the current subjectcallbackHandler - the callbackhandler (must at least handle a
NameCallback and a
PasswordCallback).sharedState - not usedoptions - contains the options for the JGDILoginModule.
public boolean login()
throws javax.security.auth.login.LoginException
login in interface javax.security.auth.spi.LoginModuletrue on successfull authentication. false
if username of password is invalid.
javax.security.auth.login.LoginException - public boolean commit()
commit in interface javax.security.auth.spi.LoginModuletrue of the principals has been added to the subject.public boolean abort()
abort in interface javax.security.auth.spi.LoginModuletruepublic boolean logout()
logout in interface javax.security.auth.spi.LoginModuletrue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||