|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectat.spardat.xma.plugins.dummy.DummyLoginModule
Dummy implementation of a cliend side authentication plugin (JAAS LoginModule).
This implementation takes no username or password. It allways logs in as
user "Dummy" in the mandant "188".
The user is implemented as DummyContext.
| Constructor Summary | |
DummyLoginModule()
|
|
| Method Summary | |
boolean |
abort()
aborts the login process the DummyContext is thrown away |
boolean |
commit()
commits the login process the DummyContext is set into the subject. |
void |
initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler handler,
java.util.Map sharedState,
java.util.Map options)
initialzes the login module. |
boolean |
login()
do a login. |
boolean |
logout()
do a logout. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DummyLoginModule()
| Method Detail |
public boolean abort()
throws javax.security.auth.login.LoginException
DummyContext is thrown away
abort in interface javax.security.auth.spi.LoginModuleLoginExcption - is never thrown
javax.security.auth.login.LoginException
public boolean commit()
throws javax.security.auth.login.LoginException
DummyContext is set into the subject.
commit in interface javax.security.auth.spi.LoginModuleLoginExcption - is never thrown
javax.security.auth.login.LoginException
public void initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler handler,
java.util.Map sharedState,
java.util.Map options)
initialize in interface javax.security.auth.spi.LoginModulesubject - the subject to store the user datahandler - ignoredsharedState - ignoredoptions - ignored
public boolean login()
throws javax.security.auth.login.LoginException
DummyContext.
login in interface javax.security.auth.spi.LoginModuleLoginExcption - is never thrown
javax.security.auth.login.LoginException
public boolean logout()
throws javax.security.auth.login.LoginException
DummyContext is removed from the subject.
logout in interface javax.security.auth.spi.LoginModuleLoginExcption - is never thrown
javax.security.auth.login.LoginException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||