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
|
ServiceProviderSAMLRequestProcessor(boolean postBinding,
String serviceURL,
PicketLinkType configuration,
IDPSSODescriptorType idpMetadata) |
| 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, setTrustKeyManagerpublic ServiceProviderSAMLRequestProcessor(boolean postBinding,
String serviceURL,
PicketLinkType configuration)
postBinding - Whether it is the Post BindingserviceURL - Service URL of the SPpublic ServiceProviderSAMLRequestProcessor(boolean postBinding,
String serviceURL,
PicketLinkType configuration,
IDPSSODescriptorType idpMetadata)
public 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 © 2018 JBoss by Red Hat. All rights reserved.