Class Saml2AuthenticationRequest

java.lang.Object
org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest

@Deprecated public final class Saml2AuthenticationRequest extends Object
Data holder for information required to send an AuthNRequest from 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
  • Method Details

    • getIssuer

      public String getIssuer()
      Deprecated.
      returns the issuer, the local SP entity ID, for this authentication request. This property should be used to populate the AuthNRequest.Issuer XML element. This value typically is a URI, but can be an arbitrary string.
      Returns:
      issuer
    • getDestination

      public String getDestination()
      Deprecated.
      returns the destination, the WEB Single Sign On URI, for this authentication request. This property populates the AuthNRequest#Destination XML attribute.
      Returns:
      destination
    • getAssertionConsumerServiceUrl

      public String getAssertionConsumerServiceUrl()
      Deprecated.
      Returns the desired AssertionConsumerServiceUrl that this SP wishes to receive the assertion on. The IDP may or may not honor this request. This property populates the AuthNRequest#AssertionConsumerServiceURL XML attribute.
      Returns:
      the AssertionConsumerServiceURL value
    • getCredentials

      public List<Saml2X509Credential> getCredentials()
      Deprecated.
      Returns a list of credentials that can be used to sign the AuthNRequest object
      Returns:
      signing credentials
    • builder

      public static Saml2AuthenticationRequest.Builder builder()
      Deprecated.
      Returns:
      a Saml2AuthenticationRequest.Builder for constructing a Saml2AuthenticationRequest
    • withAuthenticationRequestContext

      public static Saml2AuthenticationRequest.Builder withAuthenticationRequestContext(Saml2AuthenticationRequestContext context)
      Deprecated.
      Parameters:
      context - a context object to copy values from. returns a builder object
      Returns:
      a Saml2AuthenticationRequest.Builder for constructing a Saml2AuthenticationRequest