public class ServiceProviderSAMLResponseProcessor extends ServiceProviderBaseProcessor
identityURL, IDP_KEY, issuer, keyManager, log, postBinding, serviceURL, spConfiguration, supportSignatures, trace
Constructor and Description |
---|
ServiceProviderSAMLResponseProcessor(boolean postBinding,
String serviceURL)
Construct
|
Modifier and Type | Method and Description |
---|---|
SAML2HandlerResponse |
process(String samlResponse,
HTTPContext httpContext,
Set<SAML2Handler> handlers,
Lock chainLock)
Process the message
|
void |
setIdpPostBinding(boolean idpPostBinding) |
void |
setValidateSignature(boolean validateSignature)
Flag to indicate whether the response should be validated for signature
|
getSAML2HandlerRequest, isLogOutRequest, process, safeURL, setConfiguration, setIdentityURL, setIssuer, setSupportSignatures, setTrustKeyManager
public ServiceProviderSAMLResponseProcessor(boolean postBinding, String serviceURL)
postBinding
- Whether it is the Post BindingserviceURL
- Service URL of the SPpublic void setIdpPostBinding(boolean idpPostBinding)
public void setValidateSignature(boolean validateSignature)
validateSignature
- public SAML2HandlerResponse process(String samlResponse, HTTPContext httpContext, Set<SAML2Handler> handlers, Lock chainLock) throws ProcessingException, IOException, ParsingException, ConfigurationException
samlResponse
- httpContext
- handlers
- chainLock
- a lock that needs to be used to process the chain of handlersProcessingException
IOException
ParsingException
ConfigurationException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.