Class WSS4JStaxOutInterceptor

    • Field Detail

      • OUTPUT_STREAM_HOLDER

        public static final String OUTPUT_STREAM_HOLDER
    • Constructor Detail

      • WSS4JStaxOutInterceptor

        public WSS4JStaxOutInterceptor​(Map<String,​Object> props)
      • WSS4JStaxOutInterceptor

        public WSS4JStaxOutInterceptor()
    • Method Detail

      • isAllowMTOM

        public boolean isAllowMTOM()
      • setAllowMTOM

        public void setAllowMTOM​(boolean allowMTOM)
        Enable or disable mtom with WS-Security. MTOM is disabled if we are signing or encrypting the message Body, as otherwise attachments would not get encrypted or be part of the signature.
        Parameters:
        allowMTOM -
      • handleSecureMTOM

        protected void handleSecureMTOM​(org.apache.cxf.binding.soap.SoapMessage mc,
                                        WSSSecurityProperties secProps)
      • handleMessage

        public void handleMessage​(org.apache.cxf.binding.soap.SoapMessage mc)
                           throws Fault
        Description copied from interface: Interceptor
        Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.
        Throws:
        Fault
      • configureSecurityEventListener

        protected org.apache.xml.security.stax.securityEvent.SecurityEventListener configureSecurityEventListener​(org.apache.cxf.binding.soap.SoapMessage msg,
                                                                                                                  WSSSecurityProperties securityProperties)
                                                                                                           throws WSSPolicyException
        Throws:
        WSSPolicyException
      • createEndingInterceptor

        public final org.apache.cxf.ws.security.wss4j.WSS4JStaxOutInterceptor.WSS4JStaxOutInterceptorInternal createEndingInterceptor()