@ThreadSafe public interface SPSession extends IdentifiedComponent
IdPSession.
This is a high level interface that should be extended to expose data associated with
particular protocols used to establish sessions.| Modifier and Type | Method and Description |
|---|---|
long |
getCreationInstant()
Get the time, in milliseconds since the epoch, when this session was created.
|
long |
getExpirationInstant()
Get the time, in milliseconds since the epoch, when this session will expire.
|
String |
getSPSessionKey()
Get a unique key identifying this subject's session with the service.
|
getId@Positive long getCreationInstant()
@Positive long getExpirationInstant()
@Nullable String getSPSessionKey()
This will vary based on the type of session, typically based on the protocol used, but it provides a secondary lookup key that may be required in support of other use cases involving that protocol. Not all protocols may require such a key, so null may be returned.
Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.