Class SAML1SPSession

java.lang.Object
net.shibboleth.idp.session.BasicSPSession
net.shibboleth.idp.saml.session.SAML1SPSession
All Implemented Interfaces:
SPSession, SPSessionEx, Component, IdentifiedComponent

public class SAML1SPSession
extends BasicSPSession
implements SPSessionEx
Marker subtype for a SAML 1 session, adds no actual information other than its identity as a SAML 1 session.
  • Constructor Details

    • SAML1SPSession

      public SAML1SPSession​(@Nonnull @NotEmpty String id, @Nonnull Instant creation, @Nonnull Instant expiration)
      Constructor.
      Parameters:
      id - the identifier of the service associated with this session
      creation - creation time of session
      expiration - expiration time of session
  • Method Details

    • getProtocol

      @Nullable @NotEmpty public String getProtocol()
      Get a prototocol constant for the session suitable for metadata lookup.
      Specified by:
      getProtocol in interface SPSessionEx
      Returns:
      a protocol constant