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.ObjectDeprecated.Builder for IDP SSO endpoint configuration- Since:
- 5.3
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RelyingPartyRegistration.ProviderDetails.Builderbinding(Saml2MessageBinding binding)Deprecated.Sets the message binding to be used when sending an AuthNRequest messageRelyingPartyRegistration.ProviderDetailsbuild()Deprecated.Creates an immutable ProviderDetails object representing the configuration for an Identity Provider, IDPRelyingPartyRegistration.ProviderDetails.BuilderentityId(java.lang.String entityId)Deprecated.Set the asserting party's EntityID.RelyingPartyRegistration.ProviderDetails.BuildersignAuthNRequest(boolean signAuthNRequest)Deprecated.Set to true if the AuthNRequest message should be signedRelyingPartyRegistration.ProviderDetails.BuilderwebSsoUrl(java.lang.String url)Deprecated.Sets theSSO URLfor 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.Builderfor further configuration - Since:
- 5.4
-
webSsoUrl
public RelyingPartyRegistration.ProviderDetails.Builder webSsoUrl(java.lang.String url)
Deprecated.Sets theSSO URLfor 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.POSTorSaml2MessageBinding.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
-
-