org.picketlink.identity.federation.web.process
Class ServiceProviderSAMLRequestProcessor
java.lang.Object
org.picketlink.identity.federation.web.process.ServiceProviderBaseProcessor
org.picketlink.identity.federation.web.process.ServiceProviderSAMLRequestProcessor
public class ServiceProviderSAMLRequestProcessor
- extends ServiceProviderBaseProcessor
Utility Class to handle processing of an SAML Request Message
- Since:
- Oct 27, 2009
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class org.picketlink.identity.federation.web.process.ServiceProviderBaseProcessor |
getIDPPublicKey, getSAML2HandlerRequest, isLogOutRequest, process, safeURL, setAuditHelper, setConfiguration, setIdentityURL, setIssuer, setRequestOptions, setTrustKeyManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceProviderSAMLRequestProcessor
public ServiceProviderSAMLRequestProcessor(boolean postBinding,
String serviceURL)
- Construct
- Parameters:
postBinding
- Whether it is the Post BindingserviceURL
- Service URL of the SP
process
public boolean process(String samlRequest,
HTTPContext httpContext,
Set<SAML2Handler> handlers,
Lock chainLock)
throws ProcessingException,
IOException,
ParsingException,
ConfigurationException
- Process the message
- Parameters:
samlRequest
- httpContext
- handlers
- chainLock
- A Lock on the chain of handlers that needs to be used for locking
- Returns:
-
- Throws:
ProcessingException
IOException
ParsingException
ConfigurationException
sendRequestToIDP
protected void sendRequestToIDP(String destination,
Document samlDocument,
String relayState,
javax.servlet.http.HttpServletResponse response,
boolean willSendRequest)
throws ProcessingException,
ConfigurationException,
IOException
- Send the request to the IDP
- Parameters:
destination
- idp urlsamlDocument
- request or response documentrelayState
- response
- willSendRequest
- are we sending Request or Response to IDP
- Throws:
ProcessingException
ConfigurationException
IOException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.