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

java.lang.Object
  extended by org.apache.ws.security.handler.WSHandler
      extended by org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor
          extended by org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor
All Implemented Interfaces:
org.apache.cxf.binding.soap.interceptor.SoapInterceptor, org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>

public class WSS4JOutInterceptor
extends AbstractWSS4JInterceptor


Field Summary
 
Fields inherited from class org.apache.ws.security.handler.WSHandler
cryptos, DONE, secEngine
 
Constructor Summary
WSS4JOutInterceptor()
           
WSS4JOutInterceptor(java.util.Map<java.lang.String,java.lang.Object> props)
           
 
Method Summary
 org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.WSS4JOutInterceptorInternal createEndingInterceptor()
           
 void handleFault(org.apache.cxf.binding.soap.SoapMessage message)
           
 void handleMessage(org.apache.cxf.binding.soap.SoapMessage mc)
           
 boolean isAllowMTOM()
           
 void setAllowMTOM(boolean allowMTOM)
          Enable or disable mtom with WS-Security.
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor
getAfter, getBefore, getId, getOption, getPassword, getPhase, getProperties, getProperty, getRoles, getUnderstoodHeaders, postHandleMessage, setAfter, setBefore, setId, setPassword, setPhase, setProperties, setProperty, setProperty
 
Methods inherited from class org.apache.ws.security.handler.WSHandler
checkReceiverResults, checkSignatureConfirmation, decodeCustomPasswordTypes, decodeDecryptionParameter, decodeEnableSignatureConfirmation, decodeEncryptionParameter, decodeMustUnderstand, decodeSignatureParameter, decodeSignatureParameter2, decodeTimestampPrecision, decodeTimestampStrict, decodeTimeToLive, decodeUTParameter, doReceiverAction, doSenderAction, getClassLoader, getPassword, getPasswordCB, getString, getStringOption, loadDecryptionCrypto, loadEncryptionCrypto, loadSignatureCrypto, verifyTimestamp, verifyTrust
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSS4JOutInterceptor

public WSS4JOutInterceptor()

WSS4JOutInterceptor

public WSS4JOutInterceptor(java.util.Map<java.lang.String,java.lang.Object> props)
Method Detail

isAllowMTOM

public boolean isAllowMTOM()

setAllowMTOM

public void setAllowMTOM(boolean allowMTOM)
Enable or disable mtom with WS-Security. By default MTOM is disabled as attachments would not get encrypted or be part of the signature.

Parameters:
mtomEnabled -

handleMessage

public void handleMessage(org.apache.cxf.binding.soap.SoapMessage mc)
                   throws org.apache.cxf.interceptor.Fault
Throws:
org.apache.cxf.interceptor.Fault

handleFault

public void handleFault(org.apache.cxf.binding.soap.SoapMessage message)
Specified by:
handleFault in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>
Overrides:
handleFault in class AbstractWSS4JInterceptor

createEndingInterceptor

public final org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.WSS4JOutInterceptorInternal createEndingInterceptor()


Apache CXF