org.apache.cxf.ws.security.trust
Class AuthPolicyValidatingInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.ws.security.trust.AuthPolicyValidatingInterceptor
- All Implemented Interfaces:
- org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
public class AuthPolicyValidatingInterceptor
- extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
|
Method Summary |
protected org.apache.wss4j.dom.message.token.UsernameToken |
convertPolicyToToken(org.apache.cxf.configuration.security.AuthorizationPolicy policy)
|
protected org.apache.cxf.security.SecurityContext |
createSecurityContext(org.apache.cxf.message.Message msg,
org.apache.wss4j.dom.validate.Credential credential)
|
protected org.apache.cxf.security.SecurityContext |
createSecurityContext(Principal p)
|
void |
handleMessage(org.apache.cxf.message.Message message)
|
void |
setValidator(org.apache.wss4j.dom.validate.Validator validator)
|
| Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthPolicyValidatingInterceptor
public AuthPolicyValidatingInterceptor()
AuthPolicyValidatingInterceptor
public AuthPolicyValidatingInterceptor(String phase)
handleMessage
public void handleMessage(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
- Throws:
org.apache.cxf.interceptor.Fault
convertPolicyToToken
protected org.apache.wss4j.dom.message.token.UsernameToken convertPolicyToToken(org.apache.cxf.configuration.security.AuthorizationPolicy policy)
throws Exception
- Throws:
Exception
createSecurityContext
protected org.apache.cxf.security.SecurityContext createSecurityContext(Principal p)
createSecurityContext
protected org.apache.cxf.security.SecurityContext createSecurityContext(org.apache.cxf.message.Message msg,
org.apache.wss4j.dom.validate.Credential credential)
setValidator
public void setValidator(org.apache.wss4j.dom.validate.Validator validator)
Apache CXF