Class AbstractSaml2AuthenticationRequest.Builder<T extends AbstractSaml2AuthenticationRequest.Builder<T>>
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest.Builder<T>
-
- Direct Known Subclasses:
Saml2PostAuthenticationRequest.Builder,Saml2RedirectAuthenticationRequest.Builder
- Enclosing class:
- AbstractSaml2AuthenticationRequest
public static class AbstractSaml2AuthenticationRequest.Builder<T extends AbstractSaml2AuthenticationRequest.Builder<T>> extends java.lang.ObjectA builder forAbstractSaml2AuthenticationRequestand its subclasses.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()Deprecated.UseBuilder(RelyingPartyRegistration)insteadprotectedBuilder(RelyingPartyRegistration registration)Creates a new Builder with relying party registration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T_this()Casting the return as the generic subtype, when returning itselfTauthenticationRequestUri(java.lang.String authenticationRequestUri)Sets theauthenticationRequestUri, a URL that will receive the AuthNRequest messageTrelayState(java.lang.String relayState)Sets theRelayStateparameter that will accompany this AuthNRequestTsamlRequest(java.lang.String samlRequest)Sets theSAMLRequestparameter that will accompany this AuthNRequest
-
-
-
Constructor Detail
-
Builder
@Deprecated protected Builder()
Deprecated.UseBuilder(RelyingPartyRegistration)instead
-
Builder
protected Builder(RelyingPartyRegistration registration)
Creates a new Builder with relying party registration- Parameters:
registration- the registration of the relying party.
-
-
Method Detail
-
_this
protected final T _this()
Casting the return as the generic subtype, when returning itself- Returns:
- this object
-
relayState
public T relayState(java.lang.String relayState)
Sets theRelayStateparameter that will accompany this AuthNRequest- Parameters:
relayState- the relay state value, unencoded. if null or empty, the parameter will be removed from the map.- Returns:
- this object
-
samlRequest
public T samlRequest(java.lang.String samlRequest)
Sets theSAMLRequestparameter that will accompany this AuthNRequest- Parameters:
samlRequest- the SAMLRequest parameter.- Returns:
- this object
-
authenticationRequestUri
public T authenticationRequestUri(java.lang.String authenticationRequestUri)
Sets theauthenticationRequestUri, a URL that will receive the AuthNRequest message- Parameters:
authenticationRequestUri- the relay state value, unencoded.- Returns:
- this object
-
-