public class ServiceProviderSAMLRequestProcessor extends ServiceProviderBaseProcessor
auditHelper, configuration, identityURL, IDP_KEY, issuer, keyManager, logger, postBinding, serviceURL| Constructor and Description |
|---|
ServiceProviderSAMLRequestProcessor(boolean postBinding,
String serviceURL,
org.picketlink.config.federation.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,
javax.servlet.http.HttpServletResponse response,
boolean willSendRequest)
Send the request to the IDP
|
getIDPPublicKey, getSAML2HandlerRequest, getSpConfiguration, isLogOutRequest, process, safeURL, setAuditHelper, setIdentityURL, setIssuer, setRequestOptions, setTrustKeyManagerpublic ServiceProviderSAMLRequestProcessor(boolean postBinding,
String serviceURL,
org.picketlink.config.federation.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 org.picketlink.common.exceptions.ProcessingException, IOException, org.picketlink.common.exceptions.ParsingException, org.picketlink.common.exceptions.ConfigurationException
samlRequest - httpContext - handlers - chainLock - A Lock on the chain of handlers that needs to be used for lockingorg.picketlink.common.exceptions.ProcessingExceptionIOExceptionorg.picketlink.common.exceptions.ParsingExceptionorg.picketlink.common.exceptions.ConfigurationExceptionprotected void sendRequestToIDP(String destination, Document samlDocument, String relayState, javax.servlet.http.HttpServletResponse response, boolean willSendRequest) throws org.picketlink.common.exceptions.ProcessingException, org.picketlink.common.exceptions.ConfigurationException, IOException
destination - idp urlsamlDocument - request or response documentrelayState - response - willSendRequest - are we sending Request or Response to IDPorg.picketlink.common.exceptions.ProcessingExceptionorg.picketlink.common.exceptions.ConfigurationExceptionIOExceptionCopyright © 2013 JBoss Inc.. All Rights Reserved.