|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SessionType
- type of session object managedpublic interface SessionManager<SessionType extends Session>
Session managers are responsible for creating, managing, and destroying Shibboleth sessions.
Session managers produce a LoginEvent
during session creation and a LogoutEvent
during session
destruction. These events are published in the root application context, that is the highest ancestor, of the
application context presented to a session manager.
Method Summary | |
---|---|
SessionType |
createSession()
Creates an empty Shibboleth session. |
SessionType |
createSession(String principal)
Deprecated. use createSession() |
void |
destroySession(String index)
Destroys the session. |
SessionType |
getSession(String index)
Gets the user's session based on a session index. |
boolean |
indexSession(SessionType session,
String index)
Indexes a session by the given string. |
void |
removeSessionIndex(String index)
Removes the given index from its associated session. |
Method Detail |
---|
SessionType createSession()
SessionType createSession(String principal)
createSession()
principal
- the principal name of the user
void destroySession(String index)
index
- the index of the session.SessionType getSession(String index)
index
- the index of the session
boolean indexSession(SessionType session, String index)
session
- session to indexindex
- additional index
void removeSessionIndex(String index)
index
- index to be removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |