public static final class RelyingPartyRegistration.ProviderDetails.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RelyingPartyRegistration.ProviderDetails.Builder |
binding(Saml2MessageBinding binding)
Sets the message binding to be used when sending an AuthNRequest message
|
RelyingPartyRegistration.ProviderDetails |
build()
Creates an immutable ProviderDetails object representing the configuration for an Identity Provider, IDP
|
RelyingPartyRegistration.ProviderDetails.Builder |
entityId(java.lang.String entityId)
Sets the
EntityID for the remote asserting party, the Identity Provider. |
RelyingPartyRegistration.ProviderDetails.Builder |
signAuthNRequest(boolean signAuthNRequest)
Set to true if the AuthNRequest message should be signed
|
RelyingPartyRegistration.ProviderDetails.Builder |
webSsoUrl(java.lang.String url)
Sets the
SSO URL for the remote asserting party, the Identity Provider. |
public RelyingPartyRegistration.ProviderDetails.Builder entityId(java.lang.String entityId)
EntityID
for the remote asserting party, the Identity Provider.entityId
- - the EntityID of the IDP. May be a URL.public RelyingPartyRegistration.ProviderDetails.Builder webSsoUrl(java.lang.String url)
SSO URL
for the remote asserting party, the Identity Provider.url
- - a URL that accepts authentication requests via REDIRECT or POST bindingspublic RelyingPartyRegistration.ProviderDetails.Builder signAuthNRequest(boolean signAuthNRequest)
signAuthNRequest
- true if the message should be signedpublic RelyingPartyRegistration.ProviderDetails.Builder binding(Saml2MessageBinding binding)
binding
- either Saml2MessageBinding.POST
or Saml2MessageBinding.REDIRECT
public RelyingPartyRegistration.ProviderDetails build()