- All Superinterfaces:
- All Known Subinterfaces:
- All Known Implementing Classes:
@ThreadSafe public interface SPSession extends IdentifiedComponent
Describes a session with a service in turn associated with an
IdPSession. This is a high level interface that should be extended to expose data associated with particular protocols used to establish sessions.
Method SummaryModifier and TypeMethodDescriptionGet the time when this session was created.Get the time when this session will expire.Get a unique key identifying this subject's session with the service.
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getCreationInstant@Nonnull Instant getCreationInstant()Get the time when this session was created.
- time when this session was created
getExpirationInstant@Nonnull Instant getExpirationInstant()Get the time when this session will expire.
- time when this session will expire
getSPSessionKey@Nullable String getSPSessionKey()Get a unique key identifying this subject's session with the service.
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.
- a unique key identifying this subject's session with the service, or null