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