public abstract class AbstractTokenInterceptor
extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
Constructor and Description |
---|
AbstractTokenInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addToken(org.apache.cxf.binding.soap.SoapMessage message) |
protected abstract AbstractToken |
assertTokens(org.apache.cxf.binding.soap.SoapMessage message) |
protected AbstractToken |
assertTokens(org.apache.cxf.binding.soap.SoapMessage message,
String localname,
boolean signed) |
protected Header |
findSecurityHeader(org.apache.cxf.binding.soap.SoapMessage message,
boolean create) |
protected String |
getPassword(String userName,
AbstractToken info,
int usage,
org.apache.cxf.binding.soap.SoapMessage message) |
protected TokenStore |
getTokenStore(org.apache.cxf.binding.soap.SoapMessage message) |
Set<QName> |
getUnderstoodHeaders() |
void |
handleMessage(org.apache.cxf.binding.soap.SoapMessage message)
Intercepts a message.
|
protected boolean |
isTLSInUse(org.apache.cxf.binding.soap.SoapMessage message) |
protected void |
policyNotAsserted(AbstractToken assertion,
Exception reason,
org.apache.cxf.binding.soap.SoapMessage message) |
protected void |
policyNotAsserted(AbstractToken assertion,
String reason,
org.apache.cxf.binding.soap.SoapMessage message) |
protected abstract void |
processToken(org.apache.cxf.binding.soap.SoapMessage message) |
getFaultCodePrefix, getRoles, prepareStackTrace
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleFault
public Set<QName> getUnderstoodHeaders()
getUnderstoodHeaders
in interface org.apache.cxf.binding.soap.interceptor.SoapInterceptor
getUnderstoodHeaders
in class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage message) throws Fault
Interceptor
Fault
protected abstract void processToken(org.apache.cxf.binding.soap.SoapMessage message)
protected abstract void addToken(org.apache.cxf.binding.soap.SoapMessage message)
protected abstract AbstractToken assertTokens(org.apache.cxf.binding.soap.SoapMessage message)
protected AbstractToken assertTokens(org.apache.cxf.binding.soap.SoapMessage message, String localname, boolean signed)
protected boolean isTLSInUse(org.apache.cxf.binding.soap.SoapMessage message)
protected TokenStore getTokenStore(org.apache.cxf.binding.soap.SoapMessage message)
protected Header findSecurityHeader(org.apache.cxf.binding.soap.SoapMessage message, boolean create)
protected String getPassword(String userName, AbstractToken info, int usage, org.apache.cxf.binding.soap.SoapMessage message)
protected void policyNotAsserted(AbstractToken assertion, String reason, org.apache.cxf.binding.soap.SoapMessage message)
protected void policyNotAsserted(AbstractToken assertion, Exception reason, org.apache.cxf.binding.soap.SoapMessage message)
Copyright © 2016 JBoss by Red Hat. All rights reserved.