@ThreadSafe public interface SessionManager extends net.shibboleth.utilities.java.support.component.InitializableComponent, net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.IdentifiedComponent
| Modifier and Type | Method and Description |
|---|---|
IdPSession |
createSession(String principalName)
Create and return a new
IdPSession object for a subject. |
void |
destroySession(String sessionId)
Invalidates or otherwise removes a session from persistent storage and/or unbinds it
from a client.
|
initialize, isInitialized@Nonnull IdPSession createSession(@Nonnull@NotEmpty String principalName) throws SessionException
IdPSession object for a subject.
Implementations may perform additional work to persist or associate the session with the client.
principalName - canonical name of the subject of the sessionSessionException - if the session cannot be createdvoid destroySession(@Nonnull@NotEmpty String sessionId) throws SessionException
sessionId - the unique ID of the session to destroySessionException - if the session cannot be destroyedCopyright © 1999–2014. All rights reserved.