Interface Saml2AuthenticatedPrincipal

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default <A> java.util.List<A> getAttribute​(java.lang.String name)
      Get the Saml2 token attribute by name
      default java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> getAttributes()
      Get the Saml2 token attributes
      default <A> A getFirstAttribute​(java.lang.String name)
      Get the first value of Saml2 token attribute by name
    • 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