Package org.apache.cxf.ws.security.wss4j
Class BinarySecurityTokenInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.apache.cxf.ws.security.wss4j.AbstractTokenInterceptor
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
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddToken(org.apache.cxf.binding.soap.SoapMessage message) protected org.apache.wss4j.policy.model.AbstractTokenassertTokens(org.apache.cxf.binding.soap.SoapMessage message) protected voidprocessToken(org.apache.cxf.binding.soap.SoapMessage message) Methods inherited from class org.apache.cxf.ws.security.wss4j.AbstractTokenInterceptor
assertTokens, findSecurityHeader, getPassword, getTokenStore, getUnderstoodHeaders, handleMessage, isTLSInUse, policyNotAsserted, policyNotAssertedMethods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, prepareStackTraceMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBeforeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.interceptor.Interceptor
handleFault
-
Constructor Details
-
BinarySecurityTokenInterceptor
public BinarySecurityTokenInterceptor()
-
-
Method Details
-
processToken
protected void processToken(org.apache.cxf.binding.soap.SoapMessage message) - Specified by:
processTokenin classAbstractTokenInterceptor
-
assertTokens
protected org.apache.wss4j.policy.model.AbstractToken assertTokens(org.apache.cxf.binding.soap.SoapMessage message) - Specified by:
assertTokensin classAbstractTokenInterceptor
-
addToken
protected void addToken(org.apache.cxf.binding.soap.SoapMessage message) - Specified by:
addTokenin classAbstractTokenInterceptor
-