org.apache.cxf.ws.security.wss4j
Class PolicyStaxActionInInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
      extended by org.apache.cxf.ws.security.wss4j.PolicyStaxActionInInterceptor
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 PolicyStaxActionInInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.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.


Constructor Summary
PolicyStaxActionInInterceptor()
           
 
Method Summary
 void handleMessage(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyStaxActionInInterceptor

public PolicyStaxActionInInterceptor()
Method Detail

handleMessage

public void handleMessage(org.apache.cxf.binding.soap.SoapMessage soapMessage)
                   throws org.apache.cxf.interceptor.Fault
Throws:
org.apache.cxf.interceptor.Fault


Apache CXF