public class AuthPolicyValidatingInterceptor extends WSS4JBasicAuthValidator implements PhaseInterceptor<Message>
| Constructor and Description |
|---|
AuthPolicyValidatingInterceptor() |
AuthPolicyValidatingInterceptor(String phase) |
| Modifier and Type | Method and Description |
|---|---|
Collection<PhaseInterceptor<? extends Message>> |
getAdditionalInterceptors()
Returns a collection of Interceptors that should be added to the chain
whenever this interceptor is added.
|
Set<String> |
getAfter()
Returns a set containing the IDs of the interceptors that should be
executed before this interceptor.
|
Set<String> |
getBefore()
Returns a set containing the IDs of the interceptors that should be
executed after this interceptor.
|
String |
getId()
Returns the ID of this interceptor.
|
String |
getPhase()
Returns the phase in which this interceptor is excecuted.
|
void |
handleFault(Message arg0)
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(Message message)
Intercepts a message.
|
convertPolicyToToken, createSecurityContext, createSecurityContext, getCallbackHandler, getValidator, setCallbackHandler, setValidator, validatepublic AuthPolicyValidatingInterceptor()
public AuthPolicyValidatingInterceptor(String phase)
public void handleMessage(Message message) throws Fault
InterceptorhandleMessage in interface Interceptor<Message>Faultpublic void handleFault(Message arg0)
InterceptorhandleFault in interface Interceptor<Message>public Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors()
PhaseInterceptorgetAdditionalInterceptors in interface PhaseInterceptor<Message>public Set<String> getAfter()
PhaseInterceptorgetAfter in interface PhaseInterceptor<Message>public Set<String> getBefore()
PhaseInterceptorgetBefore in interface PhaseInterceptor<Message>public String getId()
PhaseInterceptorgetId in interface PhaseInterceptor<Message>public String getPhase()
PhaseInterceptorgetPhase in interface PhaseInterceptor<Message>Apache CXF