Class DefaultSaml2AuthenticatedPrincipal
java.lang.Object
org.springframework.security.saml2.provider.service.authentication.DefaultSaml2AuthenticatedPrincipal
- All Implemented Interfaces:
Serializable,AuthenticatedPrincipal,Saml2AuthenticatedPrincipal
@Deprecated
public class DefaultSaml2AuthenticatedPrincipal
extends Object
implements Saml2AuthenticatedPrincipal, Serializable
Deprecated.
Default implementation of a
Saml2AuthenticatedPrincipal.- Since:
- 5.4
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.DefaultSaml2AuthenticatedPrincipal(String name, Map<String, List<Object>> attributes, List<String> sessionIndexes) Deprecated.DefaultSaml2AuthenticatedPrincipal(String name, Saml2ResponseAssertionAccessor assertion) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Get the Saml2 token attributesgetName()Deprecated.Returns the name of the authenticatedPrincipal.Deprecated.Get theRelyingPartyRegistrationidentifierDeprecated.inthashCode()Deprecated.voidsetRelyingPartyRegistrationId(String registrationId) Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal
getAttribute, getFirstAttribute
-
Constructor Details
-
Method Details
-
getName
Deprecated.Description copied from interface:AuthenticatedPrincipalReturns the name of the authenticatedPrincipal. Nevernull.- Specified by:
getNamein interfaceAuthenticatedPrincipal- Returns:
- the name of the authenticated
Principal
-
getAttributes
Deprecated.Description copied from interface:Saml2AuthenticatedPrincipalGet the Saml2 token attributes- Specified by:
getAttributesin interfaceSaml2AuthenticatedPrincipal- Returns:
- the Saml2 token attributes
-
getSessionIndexes
Deprecated.- Specified by:
getSessionIndexesin interfaceSaml2AuthenticatedPrincipal
-
getRelyingPartyRegistrationId
Deprecated.Description copied from interface:Saml2AuthenticatedPrincipalGet theRelyingPartyRegistrationidentifier- Specified by:
getRelyingPartyRegistrationIdin interfaceSaml2AuthenticatedPrincipal- Returns:
- the
RelyingPartyRegistrationidentifier
-
setRelyingPartyRegistrationId
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-
Saml2ResponseAssertionAccessor