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, validate
public AuthPolicyValidatingInterceptor()
public AuthPolicyValidatingInterceptor(String phase)
public void handleMessage(Message message) throws Fault
Interceptor
handleMessage
in interface Interceptor<Message>
Fault
public void handleFault(Message arg0)
Interceptor
handleFault
in interface Interceptor<Message>
public Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors()
PhaseInterceptor
getAdditionalInterceptors
in interface PhaseInterceptor<Message>
public Set<String> getAfter()
PhaseInterceptor
getAfter
in interface PhaseInterceptor<Message>
public Set<String> getBefore()
PhaseInterceptor
getBefore
in interface PhaseInterceptor<Message>
public String getId()
PhaseInterceptor
getId
in interface PhaseInterceptor<Message>
public String getPhase()
PhaseInterceptor
getPhase
in interface PhaseInterceptor<Message>
Apache CXF