Package org.apache.cxf.ws.security.wss4j
Class PolicyBasedWSS4JStaxOutInterceptor
- java.lang.Object
-
- org.apache.cxf.ws.security.wss4j.AbstractWSS4JStaxInterceptor
-
- org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor
-
- org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JStaxOutInterceptor
-
- All Implemented Interfaces:
SoapInterceptor,Interceptor<SoapMessage>,PhaseInterceptor<SoapMessage>
public class PolicyBasedWSS4JStaxOutInterceptor extends WSS4JStaxOutInterceptor
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor
OUTPUT_STREAM_HOLDER
-
-
Constructor Summary
Constructors Constructor Description PolicyBasedWSS4JStaxOutInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureProperties(SoapMessage msg, org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)protected org.apache.wss4j.stax.ext.WSSSecurityPropertiescreateSecurityProperties()voidhandleMessage(SoapMessage msg)Intercepts a message.-
Methods inherited from class org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor
configureSecurityEventListener, createEndingInterceptor, handleSecureMTOM, isAllowMTOM, setAllowMTOM
-
Methods inherited from class org.apache.cxf.ws.security.wss4j.AbstractWSS4JStaxInterceptor
configureCallbackHandler, getAdditionalInterceptors, getAfter, getBefore, getEncryptionCrypto, getId, getOption, getPassword, getPasswordEncryptor, getPhase, getProperties, getProperty, getRoles, getSignatureCrypto, getUnderstoodHeaders, handleFault, isRequestor, loadCrypto, loadCryptoFromPropertiesFile, postHandleMessage, setId, setPassword, setPhase, setProperty, translateProperties
-
-
-
-
Method Detail
-
handleMessage
public void handleMessage(SoapMessage msg) throws Fault
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Specified by:
handleMessagein interfaceInterceptor<SoapMessage>- Overrides:
handleMessagein classWSS4JStaxOutInterceptor- Throws:
Fault
-
createSecurityProperties
protected org.apache.wss4j.stax.ext.WSSSecurityProperties createSecurityProperties()
- Overrides:
createSecurityPropertiesin classAbstractWSS4JStaxInterceptor
-
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:
configurePropertiesin classWSS4JStaxOutInterceptor- Throws:
org.apache.wss4j.common.ext.WSSecurityException
-
-