org.kuali.student.security.cxf.interceptors
Class SamlTokenCxfOutInterceptor
java.lang.Object
org.apache.ws.security.handler.WSHandler
org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor
org.kuali.student.security.cxf.interceptors.SamlTokenCxfOutInterceptor
- All Implemented Interfaces:
- SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>
public class SamlTokenCxfOutInterceptor
- extends AbstractWSS4JInterceptor
Methods inherited from class org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor |
decodeEnableSignatureConfirmation, getAfter, getBefore, getId, getOption, getPassword, getPhase, getProperties, getProperty, getRoles, getUnderstoodHeaders, isRequestor, loadDecryptionCrypto, loadEncryptionCrypto, loadSignatureCrypto, postHandleMessage, setAfter, setBefore, setId, setPassword, setPhase, setProperties, setProperty, setProperty |
Methods inherited from class org.apache.ws.security.handler.WSHandler |
checkReceiverResults, checkReceiverResultsAnyOrder, checkSignatureConfirmation, decodeCustomPasswordTypes, decodeDecryptionParameter, decodeEncryptionParameter, decodeMustUnderstand, decodeNamespaceQualifiedPasswordTypes, decodeSignatureParameter, decodeSignatureParameter2, decodeTimestampPrecision, decodeTimestampStrict, decodeTimeToLive, decodeUTParameter, doReceiverAction, doSenderAction, getClassLoader, getPassword, getPasswordCB, getString, getStringOption, verifyTimestamp, verifyTrust |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final Logger LOG
TIME_LOG
private static final Logger TIME_LOG
ending
private SamlTokenCxfOutInterceptor.SamlTokenCxfOutInterceptorInternal ending
saajOut
private SAAJOutInterceptor saajOut
mtomEnabled
private boolean mtomEnabled
samlPropertiesHolder
private ThreadLocal<Map<String,String>> samlPropertiesHolder
samlAssertionHolder
private ThreadLocal<org.opensaml.SAMLAssertion> samlAssertionHolder
SamlTokenCxfOutInterceptor
public SamlTokenCxfOutInterceptor()
SamlTokenCxfOutInterceptor
public SamlTokenCxfOutInterceptor(Map<String,Object> props)
isAllowMTOM
public boolean isAllowMTOM()
setAllowMTOM
public void setAllowMTOM(boolean allowMTOM)
- Enable or disable mtom with WS-Security. By default MTOM is disabled as
attachments would not get encrypted or be part of the signature.
- Parameters:
mtomEnabled
-
handleMessage
public void handleMessage(SoapMessage mc)
throws Fault
- Throws:
Fault
handleFault
public void handleFault(SoapMessage message)
- Specified by:
handleFault
in interface Interceptor<SoapMessage>
- Overrides:
handleFault
in class AbstractWSS4JInterceptor
createEndingInterceptor
public final SamlTokenCxfOutInterceptor.SamlTokenCxfOutInterceptorInternal createEndingInterceptor()
setSamlProperties
public void setSamlProperties(Map<String,String> samlProperties)
getSamlProperties
public Map<String,String> getSamlProperties()
getSamlAssertion
public org.opensaml.SAMLAssertion getSamlAssertion()
setSamlAssertion
public void setSamlAssertion(org.opensaml.SAMLAssertion samlAssertion)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.