Package org.apache.cxf.ws.security.wss4j
Class StaxActionInInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
-
- org.apache.cxf.ws.security.wss4j.StaxActionInInterceptor
-
- All Implemented Interfaces:
Interceptor<SoapMessage>,PhaseInterceptor<SoapMessage>
public class StaxActionInInterceptor extends AbstractPhaseInterceptor<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
Constructors Constructor Description StaxActionInInterceptor(List<org.apache.xml.security.stax.ext.XMLSecurityConstants.Action> inActions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleMessage(SoapMessage soapMessage)Intercepts a message.-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Constructor Detail
-
StaxActionInInterceptor
public StaxActionInInterceptor(List<org.apache.xml.security.stax.ext.XMLSecurityConstants.Action> inActions)
-
-
Method Detail
-
handleMessage
public void handleMessage(SoapMessage soapMessage) throws Fault
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Throws:
Fault
-
-