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> A
getFirstAttribute
(String name) Get the first value of Saml2 token attribute by namedefault String
Get theRelyingPartyRegistration
identifierMethods 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
null
otherwise - 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
null
otherwise - Since:
- 5.4
-
getAttributes
Get the Saml2 token attributes- Returns:
- the Saml2 token attributes
- Since:
- 5.4
-
getRelyingPartyRegistrationId
Get theRelyingPartyRegistration
identifier- Returns:
- the
RelyingPartyRegistration
identifier - Since:
- 5.6
-
getSessionIndexes
-