Apache CXF API

org.apache.cxf.ws.security.wss4j
Class PolicyBasedWSS4JStaxOutInterceptor

java.lang.Object
  extended by org.apache.cxf.ws.security.wss4j.AbstractWSS4JStaxInterceptor
      extended by org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor
          extended by org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JStaxOutInterceptor
All Implemented Interfaces:
SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>

public class PolicyBasedWSS4JStaxOutInterceptor
extends WSS4JStaxOutInterceptor


Field Summary
static PolicyBasedWSS4JStaxOutInterceptor INSTANCE
           
 
Fields inherited from class org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor
OUTPUT_STREAM_HOLDER
 
Constructor Summary
PolicyBasedWSS4JStaxOutInterceptor()
           
 
Method Summary
protected  void configureProperties(SoapMessage msg, org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
           
protected  org.apache.wss4j.stax.ext.WSSSecurityProperties createSecurityProperties()
           
 void handleMessage(SoapMessage msg)
          Intercepts a message.
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor
configureSecurityEventListener, createEndingInterceptor, getProperty, handleSecureMTOM, isAllowMTOM, setAllowMTOM
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.AbstractWSS4JStaxInterceptor
configureCallbackHandler, getAdditionalInterceptors, getAfter, getBefore, getEncryptionCrypto, getFirstAssertionByLocalname, getId, getOption, getPassword, getPasswordEncryptor, getPhase, getProperties, getRoles, getSignatureCrypto, getUnderstoodHeaders, handleFault, isRequestor, loadCrypto, loadCryptoFromPropertiesFile, postHandleMessage, setAfter, setBefore, setId, setPassword, setPhase, setProperty, setProperty, translateProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PolicyBasedWSS4JStaxOutInterceptor INSTANCE
Constructor Detail

PolicyBasedWSS4JStaxOutInterceptor

public PolicyBasedWSS4JStaxOutInterceptor()
Method Detail

handleMessage

public void handleMessage(SoapMessage msg)
                   throws Fault
Description copied from interface: Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

Specified by:
handleMessage in interface Interceptor<SoapMessage>
Overrides:
handleMessage in class WSS4JStaxOutInterceptor
Throws:
Fault

createSecurityProperties

protected org.apache.wss4j.stax.ext.WSSSecurityProperties createSecurityProperties()
Overrides:
createSecurityProperties in class AbstractWSS4JStaxInterceptor

configureProperties

protected void configureProperties(SoapMessage msg,
                                   org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext,
                                   org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
                            throws org.apache.wss4j.common.ext.WSSecurityException
Overrides:
configureProperties in class WSS4JStaxOutInterceptor
Throws:
org.apache.wss4j.common.ext.WSSecurityException

Apache CXF API

Apache CXF