Interface SPSession

    • Method Detail

      • getCreationInstant

        @Nonnull
        Instant getCreationInstant()
        Get the time when this session was created.
        Returns:
        time when this session was created
      • getExpirationInstant

        @Nonnull
        Instant getExpirationInstant()
        Get the time when this session will expire.
        Returns:
        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.

        Returns:
        a unique key identifying this subject's session with the service, or null