public class ServiceProviderSAMLRequestProcessor extends ServiceProviderBaseProcessor
auditHelper, configuration, identityURL, IDP_KEY, issuer, keyManager, logger, postBinding, serviceURL
Constructor and Description |
---|
ServiceProviderSAMLRequestProcessor(boolean postBinding,
String serviceURL,
PicketLinkType configuration)
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
|
getIDPPublicKey, getSAML2HandlerRequest, getSpConfiguration, isLogOutRequest, process, safeURL, setAuditHelper, setIdentityURL, setIssuer, setRequestOptions, setTrustKeyManager
public ServiceProviderSAMLRequestProcessor(boolean postBinding, String serviceURL, PicketLinkType configuration)
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 lockingProcessingException
IOException
ParsingException
ConfigurationException
protected 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 IDPProcessingException
ConfigurationException
IOException
Copyright © 2018 JBoss by Red Hat. All rights reserved.