com.webmethods.caf.wsclient.saml
Class SamlOutboundInterceptor

java.lang.Object
  extended by com.webmethods.caf.wsclient.saml.SamlOutboundInterceptor

public class SamlOutboundInterceptor
extends Object

Implementation of a generic client side request interceptor ISOAPInterceptor to add a Element containing a single SAML artifact attribute to the outbound SOAP message header.


Constructor Summary
SamlOutboundInterceptor(IArtifactFactory factory)
          Construct a new interceptor, specifying the IArtifactFactory instance used to generate SAML artifacts
 
Method Summary
 void attachToContext(Context context)
          Register the request interceptor with the context.
 void intercept(SOAPMessage message, Context messageContext)
          Implementation of electric.soap.ISOAPInterceptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamlOutboundInterceptor

public SamlOutboundInterceptor(IArtifactFactory factory)
Construct a new interceptor, specifying the IArtifactFactory instance used to generate SAML artifacts

Parameters:
factory -
Method Detail

attachToContext

public void attachToContext(Context context)
Register the request interceptor with the context.

Parameters:
context - electic.glue.ProxyContext object. Could be null. If null, the electric.glue.context.ApplicationContext is used.

intercept

public void intercept(SOAPMessage message,
                      Context messageContext)
Implementation of electric.soap.ISOAPInterceptor. This method intercepts the outbound SOAP message to add the header element.

Parameters:
message - the electric.soap.SOAPMessage object.
messageContext - the context related to the SOAP message.