|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jguard.loginmodules.XmlLoginModule
public class XmlLoginModule
LoginModule configured by the jGuardUsersPrincipals XML file.
| Constructor Summary | |
|---|---|
XmlLoginModule()
|
|
| Method Summary | |
|---|---|
boolean |
abort()
remove Principals and Public/Private Credentials from Subject. |
boolean |
commit()
add Principals and Public/Private credentials to Subject. |
void |
initialize(javax.security.auth.Subject subj,
javax.security.auth.callback.CallbackHandler cbkHandler,
java.util.Map sState,
java.util.Map opts)
initialize the loginModule. |
boolean |
login()
Authenticate the user. |
boolean |
logout()
remove Principals and Private/Public credentials from Subject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlLoginModule()
| Method Detail |
|---|
public void initialize(javax.security.auth.Subject subj,
javax.security.auth.callback.CallbackHandler cbkHandler,
java.util.Map sState,
java.util.Map opts)
initialize in interface javax.security.auth.spi.LoginModulesubject - callbackHandler - sharedState - options -
public boolean login()
throws javax.security.auth.login.LoginException
login in interface javax.security.auth.spi.LoginModulejavax.security.auth.login.FailedLoginException - authentication fails
javax.security.auth.login.LoginException - if this LoginModule is unable to perform the authentication.
public boolean abort()
throws javax.security.auth.login.LoginException
abort in interface javax.security.auth.spi.LoginModulejavax.security.auth.login.LoginExceptionLoginModule.abort()
public boolean commit()
throws javax.security.auth.login.LoginException
commit in interface javax.security.auth.spi.LoginModulejavax.security.auth.login.LoginExceptionLoginModule.commit()
public boolean logout()
throws javax.security.auth.login.LoginException
logout in interface javax.security.auth.spi.LoginModulejavax.security.auth.login.LoginExceptionLoginModule.logout()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||