Class Saml2AuthenticationRequestContext
java.lang.Object
org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext
Deprecated.
Data holder for information required to create an
AuthNRequest to be sent from
the service provider to the identity provider
Assertions and Protocols for SAML 2 (line 2031)-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.A builder forSaml2AuthenticationRequestContext. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSaml2AuthenticationRequestContext(RelyingPartyRegistration relyingPartyRegistration, String issuer, String assertionConsumerServiceUrl, String relayState) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.A builder forSaml2AuthenticationRequestContext.Deprecated.Returns the desiredAssertionConsumerServiceUrlthat this SP wishes to receive the assertion on.Deprecated.Returns theDestination, the WEB Single Sign On URI, for this authentication request.Deprecated.Returns theIssuervalue to be used in theAuthNRequestobject.Deprecated.Returns the RelayState value, if present in the parametersDeprecated.Returns theRelyingPartyRegistrationconfiguration for which the AuthNRequest is intended for.
-
Constructor Details
-
Saml2AuthenticationRequestContext
protected Saml2AuthenticationRequestContext(RelyingPartyRegistration relyingPartyRegistration, String issuer, String assertionConsumerServiceUrl, String relayState) Deprecated.
-
-
Method Details
-
getRelyingPartyRegistration
Deprecated.Returns theRelyingPartyRegistrationconfiguration for which the AuthNRequest is intended for.- Returns:
- the
RelyingPartyRegistrationconfiguration
-
getIssuer
Deprecated.Returns theIssuervalue to be used in theAuthNRequestobject. This property should be used to populate theAuthNRequest.IssuerXML element. This value typically is a URI, but can be an arbitrary string.- Returns:
- the Issuer value
-
getAssertionConsumerServiceUrl
Deprecated.Returns the desiredAssertionConsumerServiceUrlthat this SP wishes to receive the assertion on. The IDP may or may not honor this request. This property populates theAuthNRequest.AssertionConsumerServiceURLXML attribute.- Returns:
- the AssertionConsumerServiceURL value
-
getRelayState
Deprecated.Returns the RelayState value, if present in the parameters- Returns:
- the RelayState value, or null if not available
-
getDestination
Deprecated.Returns theDestination, the WEB Single Sign On URI, for this authentication request. This property can also populate theAuthNRequest.DestinationXML attribute.- Returns:
- the Destination value
-
builder
Deprecated.A builder forSaml2AuthenticationRequestContext.- Returns:
- a builder object
-
Saml2AuthenticationRequestResolverinstead