Interface Saml2AuthenticatedPrincipal

    • Method Detail

      • getFirstAttribute

        @Nullable
        default <A> A getFirstAttribute​(java.lang.String name)
        Get the first value of Saml2 token attribute by name
        Type Parameters:
        A - the type of the attribute
        Parameters:
        name - the name of the attribute
        Returns:
        the first attribute value or null otherwise
        Since:
        5.4
      • getAttribute

        @Nullable
        default <A> java.util.List<A> getAttribute​(java.lang.String name)
        Get the Saml2 token attribute by name
        Type Parameters:
        A - the type of the attribute
        Parameters:
        name - the name of the attribute
        Returns:
        the attribute or null otherwise
        Since:
        5.4
      • getAttributes

        default java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> getAttributes()
        Get the Saml2 token attributes
        Returns:
        the Saml2 token attributes
        Since:
        5.4
      • getSessionIndexes

        default java.util.List<java.lang.String> getSessionIndexes()