@Deprecated
public final class Saml2AuthenticationRequest
extends java.lang.Object
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)Modifier and Type | Class and Description |
---|---|
static class |
Saml2AuthenticationRequest.Builder
Deprecated.
A builder for
Saml2AuthenticationRequest . |
Modifier and Type | Method and Description |
---|---|
static Saml2AuthenticationRequest.Builder |
builder()
Deprecated.
A builder for
Saml2AuthenticationRequest . |
java.lang.String |
getAssertionConsumerServiceUrl()
Deprecated.
Returns the desired
AssertionConsumerServiceUrl that 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 the
AuthNRequest object |
java.lang.String |
getDestination()
Deprecated.
returns the destination, the WEB Single Sign On URI, for this authentication request.
|
java.lang.String |
getIssuer()
Deprecated.
returns the issuer, the local SP entity ID, for this authentication request.
|
static Saml2AuthenticationRequest.Builder |
withAuthenticationRequestContext(Saml2AuthenticationRequestContext context)
Deprecated.
A builder for
Saml2AuthenticationRequest . |
public java.lang.String getIssuer()
AuthNRequest.Issuer
XML element.
This value typically is a URI, but can be an arbitrary string.public java.lang.String getDestination()
AuthNRequest#Destination
XML attribute.public java.lang.String getAssertionConsumerServiceUrl()
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.public java.util.List<Saml2X509Credential> getCredentials()
AuthNRequest
objectpublic static Saml2AuthenticationRequest.Builder builder()
Saml2AuthenticationRequest
.
returns a builder objectpublic static Saml2AuthenticationRequest.Builder withAuthenticationRequestContext(Saml2AuthenticationRequestContext context)
Saml2AuthenticationRequest
.context
- a context object to copy values from.
returns a builder object