public class WSS4JStaxOutInterceptor extends AbstractWSS4JStaxInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
OUTPUT_STREAM_HOLDER |
Constructor and Description |
---|
WSS4JStaxOutInterceptor() |
WSS4JStaxOutInterceptor(Map<String,Object> props) |
WSS4JStaxOutInterceptor(org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureProperties(SoapMessage msg,
org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties) |
protected org.apache.xml.security.stax.securityEvent.SecurityEventListener |
configureSecurityEventListener(SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties) |
org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor.WSS4JStaxOutInterceptorInternal |
createEndingInterceptor() |
Object |
getProperty(Object msgContext,
String key) |
void |
handleMessage(SoapMessage mc)
Intercepts a message.
|
protected void |
handleSecureMTOM(SoapMessage mc,
org.apache.wss4j.stax.ext.WSSSecurityProperties secProps) |
boolean |
isAllowMTOM() |
void |
setAllowMTOM(boolean allowMTOM)
Enable or disable mtom with WS-Security.
|
configureCallbackHandler, createSecurityProperties, getAdditionalInterceptors, getAfter, getBefore, getEncryptionCrypto, getId, getOption, getPassword, getPasswordEncryptor, getPhase, getProperties, getRoles, getSignatureCrypto, getUnderstoodHeaders, handleFault, isRequestor, loadCrypto, loadCryptoFromPropertiesFile, postHandleMessage, setId, setPassword, setPhase, setProperty, translateProperties
public static final String OUTPUT_STREAM_HOLDER
public WSS4JStaxOutInterceptor(org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
public WSS4JStaxOutInterceptor()
public boolean isAllowMTOM()
public void setAllowMTOM(boolean allowMTOM)
mtomEnabled
- public Object getProperty(Object msgContext, String key)
getProperty
in class AbstractWSS4JStaxInterceptor
protected void handleSecureMTOM(SoapMessage mc, org.apache.wss4j.stax.ext.WSSSecurityProperties secProps)
public void handleMessage(SoapMessage mc) throws Fault
Interceptor
Fault
protected org.apache.xml.security.stax.securityEvent.SecurityEventListener configureSecurityEventListener(SoapMessage msg, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties) throws org.apache.wss4j.common.WSSPolicyException
org.apache.wss4j.common.WSSPolicyException
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
org.apache.wss4j.common.ext.WSSecurityException
public final org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor.WSS4JStaxOutInterceptorInternal createEndingInterceptor()
Apache CXF