|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is the interface of all server side authentication plugins. Server side authentication plugins are used to check the user data send by the client. Server side authentication plugins cooperate with their client side authenticatin plugins (JAAS LoginModule). The LoginModule usually encrypts the credentials in an way the server side authentication module can verify; e.g. by using a challenge response procedure.
| Method Summary | |
java.lang.Object |
getPreLoginInfo(javax.servlet.http.HttpSession session)
Get information needed on the client side before the login. |
boolean |
login(javax.security.auth.Subject subject,
javax.servlet.http.HttpSession session)
Do the login on the server. |
boolean |
logout(javax.security.auth.Subject subject,
javax.servlet.http.HttpSession session)
Do the logout on the server. |
| Method Detail |
public java.lang.Object getPreLoginInfo(javax.servlet.http.HttpSession session)
session - the HttpSession
public boolean login(javax.security.auth.Subject subject,
javax.servlet.http.HttpSession session)
subject - the subject as returned by the corresponding LoginModule
Any changes in the subject are send back to the client by the runtime.session - the HttpSession
public boolean logout(javax.security.auth.Subject subject,
javax.servlet.http.HttpSession session)
subject - the subject as returned by the corresponding LoginModulesession - the HttpSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||