Class RelyingPartyRegistration.ProviderDetails.Builder
- java.lang.Object
-
- org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails.Builder
-
- Enclosing class:
- RelyingPartyRegistration.ProviderDetails
@Deprecated public static final class RelyingPartyRegistration.ProviderDetails.Builder extends java.lang.Object
Deprecated.Builder for IDP SSO endpoint configuration- Since:
- 5.3
-
-
Constructor Summary
Constructors Constructor Description Builder()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RelyingPartyRegistration.ProviderDetails.Builder
binding(Saml2MessageBinding binding)
Deprecated.Sets the message binding to be used when sending an AuthNRequest messageRelyingPartyRegistration.ProviderDetails
build()
Deprecated.Creates an immutable ProviderDetails object representing the configuration for an Identity Provider, IDPRelyingPartyRegistration.ProviderDetails.Builder
entityId(java.lang.String entityId)
Deprecated.Set the asserting party's EntityID.RelyingPartyRegistration.ProviderDetails.Builder
signAuthNRequest(boolean signAuthNRequest)
Deprecated.Set to true if the AuthNRequest message should be signedRelyingPartyRegistration.ProviderDetails.Builder
webSsoUrl(java.lang.String url)
Deprecated.Sets theSSO URL
for the remote asserting party, the Identity Provider.
-
-
-
Method Detail
-
entityId
public RelyingPartyRegistration.ProviderDetails.Builder entityId(java.lang.String entityId)
Deprecated.Set the asserting party's EntityID. Equivalent to the value found in the asserting party's <EntityDescriptor EntityID="..."/>- Parameters:
entityId
- the asserting party's EntityID- Returns:
- the
RelyingPartyRegistration.ProviderDetails.Builder
for further configuration - Since:
- 5.4
-
webSsoUrl
public RelyingPartyRegistration.ProviderDetails.Builder webSsoUrl(java.lang.String url)
Deprecated.Sets theSSO URL
for the remote asserting party, the Identity Provider.- Parameters:
url
- - a URL that accepts authentication requests via REDIRECT or POST bindings- Returns:
- this object
-
signAuthNRequest
public RelyingPartyRegistration.ProviderDetails.Builder signAuthNRequest(boolean signAuthNRequest)
Deprecated.Set to true if the AuthNRequest message should be signed- Parameters:
signAuthNRequest
- true if the message should be signed- Returns:
- this object
-
binding
public RelyingPartyRegistration.ProviderDetails.Builder binding(Saml2MessageBinding binding)
Deprecated.Sets the message binding to be used when sending an AuthNRequest message- Parameters:
binding
- eitherSaml2MessageBinding.POST
orSaml2MessageBinding.REDIRECT
- Returns:
- this object
-
build
public RelyingPartyRegistration.ProviderDetails build()
Deprecated.Creates an immutable ProviderDetails object representing the configuration for an Identity Provider, IDP- Returns:
- immutable ProviderDetails object
-
-