public final class Saml2RedirectAuthenticationRequest extends AbstractSaml2AuthenticationRequest
AuthNRequest
over a REDIRECT
binding 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)Saml2AuthenticationRequestFactory
Modifier and Type | Class and Description |
---|---|
static class |
Saml2RedirectAuthenticationRequest.Builder
Builder class for a
Saml2RedirectAuthenticationRequest object. |
Modifier and Type | Method and Description |
---|---|
Saml2MessageBinding |
getBinding()
Returns the binding this AuthNRequest will be sent and encoded with.
|
java.lang.String |
getSigAlg()
Returns the SigAlg value for
Saml2MessageBinding.REDIRECT requests |
java.lang.String |
getSignature()
Returns the Signature value for
Saml2MessageBinding.REDIRECT requests |
static Saml2RedirectAuthenticationRequest.Builder |
withAuthenticationRequestContext(Saml2AuthenticationRequestContext context)
Constructs a
Saml2RedirectAuthenticationRequest.Builder from a
Saml2AuthenticationRequestContext object. |
getAuthenticationRequestUri, getRelayState, getSamlRequest
public java.lang.String getSigAlg()
Saml2MessageBinding.REDIRECT
requestspublic java.lang.String getSignature()
Saml2MessageBinding.REDIRECT
requestspublic Saml2MessageBinding getBinding()
AbstractSaml2AuthenticationRequest
Saml2MessageBinding.REDIRECT
is used, the DEFLATE encoding will be
automatically applied.getBinding
in class AbstractSaml2AuthenticationRequest
Saml2MessageBinding.REDIRECT
public static Saml2RedirectAuthenticationRequest.Builder withAuthenticationRequestContext(Saml2AuthenticationRequestContext context)
Saml2RedirectAuthenticationRequest.Builder
from a
Saml2AuthenticationRequestContext
object. By default the
AbstractSaml2AuthenticationRequest.getAuthenticationRequestUri()
will be
set to the Saml2AuthenticationRequestContext.getDestination()
value.context
- input providing Destination
, RelayState
, and
Issuer
objects.