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

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.BinarySecurityTokenInterceptor
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>
Direct Known Subclasses:
KerberosTokenInterceptor

public class BinarySecurityTokenInterceptor
extends AbstractTokenInterceptor

An interceptor to add a BinarySecurityToken token to the security header of an outbound request, and to process a BinarySecurityToken on an inbound request. It takes the BinarySecurityToken from the message context on the outbound side.


Constructor Summary
BinarySecurityTokenInterceptor()
           
 
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

BinarySecurityTokenInterceptor

public BinarySecurityTokenInterceptor()
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