org.apache.cxf.ws.security.wss4j
Class KerberosTokenInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
      extended by org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
          extended by org.apache.cxf.ws.security.wss4j.AbstractTokenInterceptor
              extended by org.apache.cxf.ws.security.wss4j.KerberosTokenInterceptor
All Implemented Interfaces:
org.apache.cxf.binding.soap.interceptor.SoapInterceptor, org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>

public class KerberosTokenInterceptor
extends AbstractTokenInterceptor

An interceptor to add a Kerberos token to the security header of an outbound request, and to process a Kerberos Token on an inbound request. It takes the Kerberos Token from the message context on the outbound side, where it was previously placed by the KerberosTokenInterceptorProvider.


Constructor Summary
KerberosTokenInterceptor()
           
 
Method Summary
protected  void addToken(org.apache.cxf.binding.soap.SoapMessage message)
           
protected  Token assertTokens(org.apache.cxf.binding.soap.SoapMessage message)
           
protected  void processToken(org.apache.cxf.binding.soap.SoapMessage message)
           
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.AbstractTokenInterceptor
assertTokens, findSecurityHeader, getCallback, getPassword, getTokenStore, getUnderstoodHeaders, handleMessage, isTLSInUse, policyNotAsserted, policyNotAsserted
 
Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, prepareStackTrace
 
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
 
Methods inherited from interface org.apache.cxf.interceptor.Interceptor
handleFault
 

Constructor Detail

KerberosTokenInterceptor

public KerberosTokenInterceptor()
Method Detail

processToken

protected void processToken(org.apache.cxf.binding.soap.SoapMessage message)
Specified by:
processToken in class AbstractTokenInterceptor

assertTokens

protected Token assertTokens(org.apache.cxf.binding.soap.SoapMessage message)
Specified by:
assertTokens in class AbstractTokenInterceptor

addToken

protected void addToken(org.apache.cxf.binding.soap.SoapMessage message)
Specified by:
addToken in class AbstractTokenInterceptor


Apache CXF