public class AuthPolicyValidatingInterceptor extends AbstractPhaseInterceptor<Message>
Constructor and Description |
---|
AuthPolicyValidatingInterceptor() |
AuthPolicyValidatingInterceptor(String phase) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.wss4j.dom.message.token.UsernameToken |
convertPolicyToToken(AuthorizationPolicy policy) |
protected SecurityContext |
createSecurityContext(Message msg,
org.apache.wss4j.dom.validate.Credential credential) |
protected SecurityContext |
createSecurityContext(Principal p) |
void |
handleMessage(Message message)
Intercepts a message.
|
void |
setValidator(org.apache.wss4j.dom.validate.Validator validator) |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
public AuthPolicyValidatingInterceptor()
public AuthPolicyValidatingInterceptor(String phase)
public void handleMessage(Message message) throws Fault
Interceptor
Fault
protected org.apache.wss4j.dom.message.token.UsernameToken convertPolicyToToken(AuthorizationPolicy policy) throws Exception
Exception
protected SecurityContext createSecurityContext(Principal p)
protected SecurityContext createSecurityContext(Message msg, org.apache.wss4j.dom.validate.Credential credential)
public void setValidator(org.apache.wss4j.dom.validate.Validator validator)
Apache CXF