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.SingleSignOnServicetrue if the requests to IdP need to be signed by SP key.signRequest in interface SamlDeployment.IDP.SingleSignOnServicepublic boolean validateResponseSignature()
SamlDeployment.IDP.SingleSignOnServicetrue if the complete response message from IdP should
be checked for valid signature.validateResponseSignature in interface SamlDeployment.IDP.SingleSignOnServicepublic boolean validateAssertionSignature()
SamlDeployment.IDP.SingleSignOnServicetrue if individual assertions in response from IdP should
be checked for valid signature.validateAssertionSignature in interface SamlDeployment.IDP.SingleSignOnServicepublic SamlDeployment.Binding getRequestBinding()
getRequestBinding in interface SamlDeployment.IDP.SingleSignOnServicepublic SamlDeployment.Binding getResponseBinding()
SamlDeployment.IDP.SingleSignOnServicegetResponseBinding in interface SamlDeployment.IDP.SingleSignOnServicepublic String getRequestBindingUrl()
SamlDeployment.IDP.SingleSignOnServicegetRequestBindingUrl in interface SamlDeployment.IDP.SingleSignOnServicepublic URI getAssertionConsumerServiceUrl()
SamlDeployment.IDP.SingleSignOnServicegetAssertionConsumerServiceUrl in interface SamlDeployment.IDP.SingleSignOnServicepublic 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 © 2021 JBoss by Red Hat. All rights reserved.