org.apache.cxf.ws.security.wss4j
Class PolicyStaxActionInInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
org.apache.cxf.ws.security.wss4j.PolicyStaxActionInInterceptor
- All Implemented Interfaces:
- Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>
public class PolicyStaxActionInInterceptor
- extends AbstractPhaseInterceptor<SoapMessage>
This interceptor marks the CXF AssertionInfos as asserted. WSS4J 2.0 (StAX) takes care of all
policy validation, so we are just asserting the appropriate AssertionInfo objects in CXF to
make sure that policy validation passes.
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyStaxActionInInterceptor
public PolicyStaxActionInInterceptor()
handleMessage
public void handleMessage(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
Apache CXF