Package org.apache.cxf.ws.security.wss4j
Class StaxActionInInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
org.apache.cxf.ws.security.wss4j.StaxActionInInterceptor
- All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
public class StaxActionInInterceptor
extends org.apache.cxf.phase.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 Summary
ConstructorsConstructorDescriptionStaxActionInInterceptor(List<org.apache.xml.security.stax.ext.XMLSecurityConstants.Action> inActions) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(org.apache.cxf.binding.soap.SoapMessage soapMessage) Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
StaxActionInInterceptor
public StaxActionInInterceptor(List<org.apache.xml.security.stax.ext.XMLSecurityConstants.Action> inActions)
-
-
Method Details
-
handleMessage
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage soapMessage) throws org.apache.cxf.interceptor.Fault - Throws:
org.apache.cxf.interceptor.Fault
-