SessionType - type of session object managedpublic interface SessionManager<SessionType extends Session>
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.| 修飾子とタイプ | メソッドと説明 |
|---|---|
SessionType |
createSession()
Creates an empty Shibboleth session.
|
SessionType |
createSession(String principal)
推奨されていません。
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.
|
SessionType createSession()
SessionType createSession(String principal)
createSession()principal - the principal name of the uservoid destroySession(String index)
index - the index of the session.SessionType getSession(String index)
index - the index of the sessionboolean indexSession(SessionType session, String index)
session - session to indexindex - additional indexvoid removeSessionIndex(String index)
index - index to be removed.Copyright © 2012. All Rights Reserved.