Package org.apache.cxf.ws.security.wss4j
Class PolicyBasedWSS4JOutInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
-
- org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor
-
- All Implemented Interfaces:
Interceptor<SoapMessage>,PhaseInterceptor<SoapMessage>
public class PolicyBasedWSS4JOutInterceptor extends AbstractPhaseInterceptor<SoapMessage>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classPolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternal
-
Field Summary
Fields Modifier and Type Field Description static PolicyBasedWSS4JOutInterceptorINSTANCEstatic StringSECURITY_PROCESSED
-
Constructor Summary
Constructors Constructor Description PolicyBasedWSS4JOutInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternalcreateEndingInterceptor()voidhandleFault(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.voidhandleMessage(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
-
-
-
-
Field Detail
-
SECURITY_PROCESSED
public static final String SECURITY_PROCESSED
-
INSTANCE
public static final PolicyBasedWSS4JOutInterceptor INSTANCE
-
-
Method Detail
-
handleMessage
public void handleMessage(SoapMessage mc) 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
-
handleFault
public void handleFault(SoapMessage message)
Description copied from interface:InterceptorCalled 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:
handleFaultin interfaceInterceptor<SoapMessage>- Overrides:
handleFaultin classAbstractPhaseInterceptor<SoapMessage>
-
createEndingInterceptor
public final PolicyBasedWSS4JOutInterceptor.PolicyBasedWSS4JOutInterceptorInternal createEndingInterceptor()
-
-