Class 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>

    public class PolicyBasedWSS4JStaxOutInterceptor
    extends WSS4JStaxOutInterceptor
    • Constructor Detail

      • PolicyBasedWSS4JStaxOutInterceptor

        public PolicyBasedWSS4JStaxOutInterceptor()
    • Method Detail

      • handleMessage

        public void handleMessage​(org.apache.cxf.binding.soap.SoapMessage msg)
                           throws org.apache.cxf.interceptor.Fault
        Specified by:
        handleMessage in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>
        Overrides:
        handleMessage in class WSS4JStaxOutInterceptor
        Throws:
        org.apache.cxf.interceptor.Fault
      • 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:
        configureProperties in class WSS4JStaxOutInterceptor
        Throws:
        org.apache.wss4j.common.ext.WSSecurityException