public class SamlOutboundInterceptor extends Object implements electric.soap.ISOAPInterceptor
ISOAPInterceptor
to
add a Element
containing a single SAML artifact attribute
to the outbound SOAP message header.Constructor and Description |
---|
SamlOutboundInterceptor(IArtifactFactory factory)
Construct a new interceptor, specifying the IArtifactFactory instance used
to generate SAML artifacts
|
Modifier and Type | Method and Description |
---|---|
void |
attachToContext(electric.util.Context context)
Register the request interceptor with the context.
|
void |
intercept(electric.soap.SOAPMessage message,
electric.util.Context messageContext)
Implementation of
ISOAPInterceptor . |
public SamlOutboundInterceptor(IArtifactFactory factory)
factory
- public void attachToContext(electric.util.Context context)
context
- electic.glue.ProxyContext
object. Could be null. If null,
the ApplicationContext
is used.public void intercept(electric.soap.SOAPMessage message, electric.util.Context messageContext)
ISOAPInterceptor
. This method intercepts
the outbound SOAP message to add the header element.intercept
in interface electric.soap.ISOAPInterceptor
message
- the SOAPMessage
object.messageContext
- the context related to the SOAP message.