public abstract class AbstractTokenInterceptor extends AbstractSoapInterceptor
Constructor and Description |
---|
AbstractTokenInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addToken(SoapMessage message) |
protected abstract org.apache.wss4j.policy.model.AbstractToken |
assertTokens(SoapMessage message) |
protected org.apache.wss4j.policy.model.AbstractToken |
assertTokens(SoapMessage message,
String localname,
boolean signed) |
protected Header |
findSecurityHeader(SoapMessage message,
boolean create) |
protected String |
getPassword(String userName,
org.apache.wss4j.policy.model.AbstractToken info,
int usage,
SoapMessage message) |
protected TokenStore |
getTokenStore(SoapMessage message) |
Set<QName> |
getUnderstoodHeaders() |
void |
handleMessage(SoapMessage message)
Intercepts a message.
|
protected boolean |
isTLSInUse(SoapMessage message) |
protected void |
policyNotAsserted(org.apache.wss4j.policy.model.AbstractToken assertion,
Exception reason,
SoapMessage message) |
protected void |
policyNotAsserted(org.apache.wss4j.policy.model.AbstractToken assertion,
String reason,
SoapMessage message) |
protected abstract void |
processToken(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 SoapInterceptor
getUnderstoodHeaders
in class AbstractSoapInterceptor
public void handleMessage(SoapMessage message) throws Fault
Interceptor
Fault
protected abstract void processToken(SoapMessage message)
protected abstract void addToken(SoapMessage message)
protected abstract org.apache.wss4j.policy.model.AbstractToken assertTokens(SoapMessage message)
protected org.apache.wss4j.policy.model.AbstractToken assertTokens(SoapMessage message, String localname, boolean signed)
protected boolean isTLSInUse(SoapMessage message)
protected TokenStore getTokenStore(SoapMessage message)
protected Header findSecurityHeader(SoapMessage message, boolean create)
protected String getPassword(String userName, org.apache.wss4j.policy.model.AbstractToken info, int usage, SoapMessage message)
protected void policyNotAsserted(org.apache.wss4j.policy.model.AbstractToken assertion, String reason, SoapMessage message)
protected void policyNotAsserted(org.apache.wss4j.policy.model.AbstractToken assertion, Exception reason, SoapMessage message)
Apache CXF