public static class DefaultSamlDeployment.DefaultSingleSignOnService extends Object implements SamlDeployment.IDP.SingleSignOnService
Constructor and Description |
---|
DefaultSingleSignOnService() |
Modifier and Type | Method and Description |
---|---|
URI |
getAssertionConsumerServiceUrl()
Returns URI where the IdP should send the responses to.
|
SamlDeployment.Binding |
getRequestBinding() |
String |
getRequestBindingUrl()
Returns URL for the IDP login service that the client will send requests to.
|
SamlDeployment.Binding |
getResponseBinding()
SAML allows the client to request what binding type it wants authn responses to use.
|
void |
setAssertionConsumerServiceUrl(URI assertionConsumerServiceUrl) |
void |
setRequestBinding(SamlDeployment.Binding requestBinding) |
void |
setRequestBindingUrl(String requestBindingUrl) |
void |
setResponseBinding(SamlDeployment.Binding responseBinding) |
void |
setSignRequest(boolean signRequest) |
void |
setValidateAssertionSignature(boolean validateAssertionSignature) |
void |
setValidateResponseSignature(boolean validateResponseSignature) |
boolean |
signRequest()
Returns
true if the requests to IdP need to be signed by SP key. |
boolean |
validateAssertionSignature()
Returns
true if individual assertions in response from IdP should
be checked for valid signature. |
boolean |
validateResponseSignature()
Returns
true if the complete response message from IdP should
be checked for valid signature. |
public boolean signRequest()
SamlDeployment.IDP.SingleSignOnService
true
if the requests to IdP need to be signed by SP key.signRequest
in interface SamlDeployment.IDP.SingleSignOnService
public boolean validateResponseSignature()
SamlDeployment.IDP.SingleSignOnService
true
if the complete response message from IdP should
be checked for valid signature.validateResponseSignature
in interface SamlDeployment.IDP.SingleSignOnService
public boolean validateAssertionSignature()
SamlDeployment.IDP.SingleSignOnService
true
if individual assertions in response from IdP should
be checked for valid signature.validateAssertionSignature
in interface SamlDeployment.IDP.SingleSignOnService
public SamlDeployment.Binding getRequestBinding()
getRequestBinding
in interface SamlDeployment.IDP.SingleSignOnService
public SamlDeployment.Binding getResponseBinding()
SamlDeployment.IDP.SingleSignOnService
getResponseBinding
in interface SamlDeployment.IDP.SingleSignOnService
public String getRequestBindingUrl()
SamlDeployment.IDP.SingleSignOnService
getRequestBindingUrl
in interface SamlDeployment.IDP.SingleSignOnService
public URI getAssertionConsumerServiceUrl()
SamlDeployment.IDP.SingleSignOnService
getAssertionConsumerServiceUrl
in interface SamlDeployment.IDP.SingleSignOnService
public void setAssertionConsumerServiceUrl(URI assertionConsumerServiceUrl)
public void setSignRequest(boolean signRequest)
public void setValidateResponseSignature(boolean validateResponseSignature)
public void setValidateAssertionSignature(boolean validateAssertionSignature)
public void setRequestBinding(SamlDeployment.Binding requestBinding)
public void setResponseBinding(SamlDeployment.Binding responseBinding)
public void setRequestBindingUrl(String requestBindingUrl)
Copyright © 2019 JBoss by Red Hat. All rights reserved.