Class SAML2SPSession

    • Field Detail

      • nameID

        @Nonnull
        private final NameID nameID
        The NameID asserted to the SP.
      • sessionIndex

        @Nonnull
        @NotEmpty
        private final String sessionIndex
        The SessionIndex asserted to the SP.
      • acsLocation

        @Nullable
        @NotEmpty
        private final String acsLocation
        The ACS location used for the associated response.
      • supportsLogoutPropagation

        private final boolean supportsLogoutPropagation
        Whether logout propagation is possible.
    • Constructor Detail

      • SAML2SPSession

        @Deprecated(since="4.2.0",
                    forRemoval=true)
        public SAML2SPSession​(@Nonnull @NotEmpty
                              String id,
                              @Nonnull
                              Instant creation,
                              @Nonnull
                              Instant expiration,
                              @Nonnull
                              NameID assertedNameID,
                              @Nonnull @NotEmpty
                              String assertedIndex)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Constructor.
        Parameters:
        id - the identifier of the service associated with this session
        creation - creation time of session
        expiration - expiration time of session
        assertedNameID - the NameID asserted to the SP
        assertedIndex - the SessionIndex asserted to the SP
      • SAML2SPSession

        public SAML2SPSession​(@Nonnull @NotEmpty
                              String id,
                              @Nonnull
                              Instant creation,
                              @Nonnull
                              Instant expiration,
                              @Nonnull
                              NameID assertedNameID,
                              @Nonnull @NotEmpty
                              String assertedIndex,
                              @Nullable @NotEmpty
                              String acsLoc,
                              boolean supportsLogoutProp)
        Constructor.
        Parameters:
        id - the identifier of the service associated with this session
        creation - creation time of session
        expiration - expiration time of session
        assertedNameID - the NameID asserted to the SP
        assertedIndex - the SessionIndex asserted to the SP
        acsLoc - the response endpoint used
        supportsLogoutProp - whether the session supports logout propagation