Class Saml2AuthenticationRequest
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest
-
@Deprecated public final class Saml2AuthenticationRequest extends java.lang.ObjectDeprecated.Data holder for information required to send anAuthNRequestfrom the service provider to the identity provider https://www.oasis-open.org/committees/download.php/35711/sstc-saml-core-errata-2.0-wd-06-diff.pdf (line 2031)- Since:
- 5.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSaml2AuthenticationRequest.BuilderDeprecated.A builder forSaml2AuthenticationRequest.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Saml2AuthenticationRequest.Builderbuilder()Deprecated.A builder forSaml2AuthenticationRequest.java.lang.StringgetAssertionConsumerServiceUrl()Deprecated.Returns the desiredAssertionConsumerServiceUrlthat this SP wishes to receive the assertion on.java.util.List<Saml2X509Credential>getCredentials()Deprecated.Returns a list of credentials that can be used to sign theAuthNRequestobjectjava.lang.StringgetDestination()Deprecated.returns the destination, the WEB Single Sign On URI, for this authentication request.java.lang.StringgetIssuer()Deprecated.returns the issuer, the local SP entity ID, for this authentication request.static Saml2AuthenticationRequest.BuilderwithAuthenticationRequestContext(Saml2AuthenticationRequestContext context)Deprecated.A builder forSaml2AuthenticationRequest.
-
-
-
Method Detail
-
getIssuer
public java.lang.String getIssuer()
Deprecated.returns the issuer, the local SP entity ID, for this authentication request. This property should be used to populate theAuthNRequest.IssuerXML element. This value typically is a URI, but can be an arbitrary string.- Returns:
- issuer
-
getDestination
public java.lang.String getDestination()
Deprecated.returns the destination, the WEB Single Sign On URI, for this authentication request. This property populates theAuthNRequest#DestinationXML attribute.- Returns:
- destination
-
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
-
getCredentials
public java.util.List<Saml2X509Credential> getCredentials()
Deprecated.Returns a list of credentials that can be used to sign theAuthNRequestobject- Returns:
- signing credentials
-
builder
public static Saml2AuthenticationRequest.Builder builder()
Deprecated.A builder forSaml2AuthenticationRequest.- Returns:
- a
Saml2AuthenticationRequest.Builderfor constructing aSaml2AuthenticationRequest
-
withAuthenticationRequestContext
public static Saml2AuthenticationRequest.Builder withAuthenticationRequestContext(Saml2AuthenticationRequestContext context)
Deprecated.A builder forSaml2AuthenticationRequest.- Parameters:
context- a context object to copy values from. returns a builder object- Returns:
- a
Saml2AuthenticationRequest.Builderfor constructing aSaml2AuthenticationRequest
-
-