Interface Saml2AuthenticatedPrincipal
- All Superinterfaces:
AuthenticatedPrincipal
- All Known Implementing Classes:
DefaultSaml2AuthenticatedPrincipal
Saml2 representation of an
AuthenticatedPrincipal.- Since:
- 5.2.2
-
Method Summary
Modifier and TypeMethodDescriptiondefault <A> List<A>getAttribute(String name) Get the Saml2 token attribute by nameGet the Saml2 token attributesdefault <A> AgetFirstAttribute(String name) Get the first value of Saml2 token attribute by namedefault StringGet theRelyingPartyRegistrationidentifierMethods inherited from interface org.springframework.security.core.AuthenticatedPrincipal
getName
-
Method Details
-
getFirstAttribute
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
nullotherwise - Since:
- 5.4
-
getAttribute
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
nullotherwise - Since:
- 5.4
-
getAttributes
Get the Saml2 token attributes- Returns:
- the Saml2 token attributes
- Since:
- 5.4
-
getRelyingPartyRegistrationId
Get theRelyingPartyRegistrationidentifier- Returns:
- the
RelyingPartyRegistrationidentifier - Since:
- 5.6
-
getSessionIndexes
-