public class ServiceProviderSAMLRequestProcessor extends ServiceProviderBaseProcessor
identityURL, IDP_KEY, issuer, keyManager, log, postBinding, serviceURL, spConfiguration, supportSignatures, trace| Constructor and Description |
|---|
ServiceProviderSAMLRequestProcessor(boolean postBinding,
String serviceURL)
Construct
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
process(String samlRequest,
HTTPContext httpContext,
Set<SAML2Handler> handlers,
Lock chainLock)
Process the message
|
protected void |
sendRequestToIDP(String destination,
Document samlDocument,
String relayState,
HttpServletResponse response,
boolean willSendRequest)
Send the request to the IDP
|
getSAML2HandlerRequest, isLogOutRequest, process, safeURL, setConfiguration, setIdentityURL, setIssuer, setSupportSignatures, setTrustKeyManagerpublic ServiceProviderSAMLRequestProcessor(boolean postBinding,
String serviceURL)
postBinding - Whether it is the Post BindingserviceURL - Service URL of the SPpublic boolean process(String samlRequest, HTTPContext httpContext, Set<SAML2Handler> handlers, Lock chainLock) throws ProcessingException, IOException, ParsingException, ConfigurationException
samlRequest - httpContext - handlers - chainLock - A Lock on the chain of handlers that needs to be used for lockingProcessingExceptionIOExceptionParsingExceptionConfigurationExceptionprotected void sendRequestToIDP(String destination, Document samlDocument, String relayState, HttpServletResponse response, boolean willSendRequest) throws ProcessingException, ConfigurationException, IOException
destination - idp urlsamlDocument - request or response documentrelayState - response - willSendRequest - are we sending Request or Response to IDPProcessingExceptionConfigurationExceptionIOExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.