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:
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>
-
Field Summary
Fields inherited from class org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor
OUTPUT_STREAM_HOLDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureProperties(org.apache.cxf.binding.soap.SoapMessage msg, org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties) protected org.apache.wss4j.stax.ext.WSSSecurityPropertiesvoidhandleMessage(org.apache.cxf.binding.soap.SoapMessage msg) Methods inherited from class org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor
configureSecurityEventListener, createEndingInterceptor, handleSecureMTOM, isAllowMTOM, setAllowMTOMMethods 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
-
Constructor Details
-
PolicyBasedWSS4JStaxOutInterceptor
public PolicyBasedWSS4JStaxOutInterceptor()
-
-
Method Details
-
handleMessage
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage msg) throws org.apache.cxf.interceptor.Fault - Specified by:
handleMessagein interfaceorg.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>- Overrides:
handleMessagein classWSS4JStaxOutInterceptor- Throws:
org.apache.cxf.interceptor.Fault
-
createSecurityProperties
protected org.apache.wss4j.stax.ext.WSSSecurityProperties createSecurityProperties()- Overrides:
createSecurityPropertiesin classAbstractWSS4JStaxInterceptor
-
configureProperties
protected void configureProperties(org.apache.cxf.binding.soap.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
-