Class StaxActionInInterceptor

  • All Implemented Interfaces:
    Interceptor<org.apache.cxf.binding.soap.SoapMessage>, PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>

    public class StaxActionInInterceptor
    extends AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
    This interceptor handles parsing the StaX WS-Security results (events) + checks to see whether the required Actions were fulfilled. If no Actions were defined in the configuration, then no checking is done on the received security events.
    • Constructor Detail

      • StaxActionInInterceptor

        public StaxActionInInterceptor​(List<org.apache.xml.security.stax.ext.XMLSecurityConstants.Action> inActions)
    • Method Detail

      • handleMessage

        public void handleMessage​(org.apache.cxf.binding.soap.SoapMessage soapMessage)
                           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