|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectat.spardat.xma.plugins.dummy.DummyLoginModuleServer
Dummy implementation of a server side authentication plugin.
This implementation checks if the subject is from
DummyLoginModule only by checking the class of the
principal. It uses no challange response procedure, so
its challange is constant.
| Constructor Summary | |
DummyLoginModuleServer()
|
|
| Method Summary | |
java.lang.Object |
getPreLoginInfo(javax.servlet.http.HttpSession session)
Get a constant String. |
boolean |
login(javax.security.auth.Subject subject,
javax.servlet.http.HttpSession session)
Validate the principals and credentials of the given subject. |
boolean |
logout(javax.security.auth.Subject subject,
javax.servlet.http.HttpSession session)
does nothing |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DummyLoginModuleServer()
| Method Detail |
public java.lang.Object getPreLoginInfo(javax.servlet.http.HttpSession session)
getPreLoginInfo in interface at.spardat.xma.security.LoginModuleServer
public boolean login(javax.security.auth.Subject subject,
javax.servlet.http.HttpSession session)
login in interface at.spardat.xma.security.LoginModuleServersubject - the subject as returned by DummyLoginModulesession - is ignored
DummyContext in the pricipals
of the subject.
false otherwise
public boolean logout(javax.security.auth.Subject subject,
javax.servlet.http.HttpSession session)
logout in interface at.spardat.xma.security.LoginModuleServer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||