Package org.apache.cxf.ws.security.wss4j
Class SamlTokenInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
-
- org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
-
- org.apache.cxf.ws.security.wss4j.AbstractTokenInterceptor
-
- org.apache.cxf.ws.security.wss4j.SamlTokenInterceptor
-
- All Implemented Interfaces:
SoapInterceptor,Interceptor<SoapMessage>,PhaseInterceptor<SoapMessage>
public class SamlTokenInterceptor extends AbstractTokenInterceptor
An interceptor to create and add a SAML token to the security header of an outbound request, and to process a SAML Token on an inbound request.
-
-
Constructor Summary
Constructors Constructor Description SamlTokenInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddToken(SoapMessage message)protected org.apache.wss4j.policy.model.AbstractTokenassertTokens(SoapMessage message)protected voidprocessToken(SoapMessage message)-
Methods inherited from class org.apache.cxf.ws.security.wss4j.AbstractTokenInterceptor
assertTokens, findSecurityHeader, 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
-
-
-
-
Method Detail
-
processToken
protected void processToken(SoapMessage message)
- Specified by:
processTokenin classAbstractTokenInterceptor
-
assertTokens
protected org.apache.wss4j.policy.model.AbstractToken assertTokens(SoapMessage message)
- Specified by:
assertTokensin classAbstractTokenInterceptor
-
addToken
protected void addToken(SoapMessage message)
- Specified by:
addTokenin classAbstractTokenInterceptor
-
-