Class Saml2AuthenticationRequestContext
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext
-
@Deprecated public class Saml2AuthenticationRequestContext extends java.lang.ObjectDeprecated.UseSaml2AuthenticationRequestResolverinsteadData holder for information required to create anAuthNRequestto be sent from the service provider to the identity provider Assertions and Protocols for SAML 2 (line 2031)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSaml2AuthenticationRequestContext.BuilderDeprecated.A builder forSaml2AuthenticationRequestContext.
-
Constructor Summary
Constructors Modifier Constructor Description protectedSaml2AuthenticationRequestContext(RelyingPartyRegistration relyingPartyRegistration, java.lang.String issuer, java.lang.String assertionConsumerServiceUrl, java.lang.String relayState)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Saml2AuthenticationRequestContext.Builderbuilder()Deprecated.A builder forSaml2AuthenticationRequestContext.java.lang.StringgetAssertionConsumerServiceUrl()Deprecated.Returns the desiredAssertionConsumerServiceUrlthat this SP wishes to receive the assertion on.java.lang.StringgetDestination()Deprecated.Returns theDestination, the WEB Single Sign On URI, for this authentication request.java.lang.StringgetIssuer()Deprecated.Returns theIssuervalue to be used in theAuthNRequestobject.java.lang.StringgetRelayState()Deprecated.Returns the RelayState value, if present in the parametersRelyingPartyRegistrationgetRelyingPartyRegistration()Deprecated.Returns theRelyingPartyRegistrationconfiguration for which the AuthNRequest is intended for.
-
-
-
Constructor Detail
-
Saml2AuthenticationRequestContext
protected Saml2AuthenticationRequestContext(RelyingPartyRegistration relyingPartyRegistration, java.lang.String issuer, java.lang.String assertionConsumerServiceUrl, java.lang.String relayState)
Deprecated.
-
-
Method Detail
-
getRelyingPartyRegistration
public RelyingPartyRegistration getRelyingPartyRegistration()
Deprecated.Returns theRelyingPartyRegistrationconfiguration for which the AuthNRequest is intended for.- Returns:
- the
RelyingPartyRegistrationconfiguration
-
getIssuer
public java.lang.String 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
public java.lang.String 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
public java.lang.String getRelayState()
Deprecated.Returns the RelayState value, if present in the parameters- Returns:
- the RelayState value, or null if not available
-
getDestination
public java.lang.String 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
public static Saml2AuthenticationRequestContext.Builder builder()
Deprecated.A builder forSaml2AuthenticationRequestContext.- Returns:
- a builder object
-
-