Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
      extended by org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor
All Implemented Interfaces:
Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>

public class PolicyBasedWSS4JOutInterceptor
extends AbstractPhaseInterceptor<SoapMessage>


Nested Class Summary
 class PolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternal
           
 
Field Summary
static PolicyBasedWSS4JOutInterceptor INSTANCE
           
static String SECURITY_PROCESSED
           
 
Constructor Summary
PolicyBasedWSS4JOutInterceptor()
           
 
Method Summary
 PolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternal createEndingInterceptor()
           
 void handleFault(SoapMessage message)
          Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.
 void handleMessage(SoapMessage mc)
          Intercepts a message.
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SECURITY_PROCESSED

public static final String SECURITY_PROCESSED

INSTANCE

public static final PolicyBasedWSS4JOutInterceptor INSTANCE
Constructor Detail

PolicyBasedWSS4JOutInterceptor

public PolicyBasedWSS4JOutInterceptor()
Method Detail

handleMessage

public void handleMessage(SoapMessage mc)
                   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

handleFault

public void handleFault(SoapMessage message)
Description copied from interface: Interceptor
Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.

Specified by:
handleFault in interface Interceptor<SoapMessage>
Overrides:
handleFault in class AbstractPhaseInterceptor<SoapMessage>

createEndingInterceptor

public final PolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternal createEndingInterceptor()

Apache CXF API

Apache CXF