Interface Saml2ResponseAssertionAccessor

All Superinterfaces:
Serializable
All Known Implementing Classes:
Saml2ResponseAssertion

public interface Saml2ResponseAssertionAccessor extends Serializable
An interface that represents key details from a SAML 2.0 Assertion
Since:
7.0
See Also:
  • Method Details

    • getNameId

      String getNameId()
    • getSessionIndexes

      List<String> getSessionIndexes()
    • getFirstAttribute

      default <A> @Nullable A getFirstAttribute(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
    • getAttribute

      default <A> @Nullable List<A> getAttribute(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
    • getAttributes

      Map<String,List<Object>> getAttributes()
    • getResponseValue

      String getResponseValue()