PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.web.process
Class ServiceProviderSAMLResponseProcessor

java.lang.Object
  extended by org.picketlink.identity.federation.web.process.ServiceProviderBaseProcessor
      extended by org.picketlink.identity.federation.web.process.ServiceProviderSAMLResponseProcessor

public class ServiceProviderSAMLResponseProcessor
extends ServiceProviderBaseProcessor

Utility Class to handle processing of an SAML Request Message

Since:
Oct 27, 2009
Author:
Anil.Saldhana@redhat.com

Field Summary
 
Fields inherited from class org.picketlink.identity.federation.web.process.ServiceProviderBaseProcessor
auditHelper, identityURL, IDP_KEY, issuer, keyManager, logger, postBinding, serviceURL, spConfiguration
 
Constructor Summary
ServiceProviderSAMLResponseProcessor(boolean postBinding, String serviceURL)
          Construct
 
Method Summary
 SAML2HandlerResponse process(String samlResponse, HTTPContext httpContext, Set<SAML2Handler> handlers, Lock chainLock)
          Process the message
 void setIdpPostBinding(boolean idpPostBinding)
           
 
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
 

Constructor Detail

ServiceProviderSAMLResponseProcessor

public ServiceProviderSAMLResponseProcessor(boolean postBinding,
                                            String serviceURL)
Construct

Parameters:
postBinding - Whether it is the Post Binding
serviceURL - Service URL of the SP
Method Detail

setIdpPostBinding

public void setIdpPostBinding(boolean idpPostBinding)

process

public SAML2HandlerResponse process(String samlResponse,
                                    HTTPContext httpContext,
                                    Set<SAML2Handler> handlers,
                                    Lock chainLock)
                             throws ProcessingException,
                                    IOException,
                                    ParsingException,
                                    ConfigurationException
Process the message

Parameters:
samlResponse -
httpContext -
handlers -
chainLock - a lock that needs to be used to process the chain of handlers
Returns:
Throws:
ProcessingException
IOException
ParsingException
ConfigurationException

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.