org.apache.cxf.ws.security.wss4j
Class WSS4JStaxInInterceptor
java.lang.Object
org.apache.cxf.ws.security.wss4j.AbstractWSS4JStaxInterceptor
org.apache.cxf.ws.security.wss4j.WSS4JStaxInInterceptor
- 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:
- PolicyBasedWSS4JStaxInInterceptor
public class WSS4JStaxInInterceptor
- extends AbstractWSS4JStaxInterceptor
|
Method Summary |
protected void |
configureProperties(org.apache.cxf.binding.soap.SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
|
protected List<org.apache.xml.security.stax.securityEvent.SecurityEventListener> |
configureSecurityEventListeners(org.apache.cxf.binding.soap.SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
|
void |
handleMessage(org.apache.cxf.binding.soap.SoapMessage soapMessage)
|
boolean |
isGET(org.apache.cxf.binding.soap.SoapMessage message)
|
protected boolean |
isNonceCacheRequired(org.apache.cxf.binding.soap.SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
Is a Nonce Cache required, i.e. |
protected boolean |
isSamlCacheRequired(org.apache.cxf.binding.soap.SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
Is a SAML Cache required, i.e. |
protected boolean |
isTimestampCacheRequired(org.apache.cxf.binding.soap.SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
Is a Timestamp cache required, i.e. |
| Methods inherited from class org.apache.cxf.ws.security.wss4j.AbstractWSS4JStaxInterceptor |
configureCallbackHandler, createSecurityProperties, getAdditionalInterceptors, getAfter, getBefore, getEncryptionCrypto, getFirstAssertionByLocalname, getId, getOption, getPassword, getPasswordEncryptor, getPhase, getProperties, getProperty, getRoles, getSignatureCrypto, getUnderstoodHeaders, handleFault, isRequestor, loadCrypto, loadCryptoFromPropertiesFile, postHandleMessage, setId, setPassword, setPhase, setProperty, translateProperties |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SECURITY_PROCESSED
public static final String SECURITY_PROCESSED
WSS4JStaxInInterceptor
public WSS4JStaxInInterceptor(org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
WSS4JStaxInInterceptor
public WSS4JStaxInInterceptor(Map<String,Object> props)
WSS4JStaxInInterceptor
public WSS4JStaxInInterceptor()
isGET
public final boolean isGET(org.apache.cxf.binding.soap.SoapMessage message)
handleMessage
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage soapMessage)
throws org.apache.cxf.interceptor.Fault
- Throws:
org.apache.cxf.interceptor.Fault
configureSecurityEventListeners
protected List<org.apache.xml.security.stax.securityEvent.SecurityEventListener> configureSecurityEventListeners(org.apache.cxf.binding.soap.SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
throws org.apache.wss4j.common.WSSPolicyException
- Throws:
org.apache.wss4j.common.WSSPolicyException
configureProperties
protected void configureProperties(org.apache.cxf.binding.soap.SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
throws org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
isNonceCacheRequired
protected boolean isNonceCacheRequired(org.apache.cxf.binding.soap.SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
- Is a Nonce Cache required, i.e. are we expecting a UsernameToken
isTimestampCacheRequired
protected boolean isTimestampCacheRequired(org.apache.cxf.binding.soap.SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
- Is a Timestamp cache required, i.e. are we expecting a Timestamp
isSamlCacheRequired
protected boolean isSamlCacheRequired(org.apache.cxf.binding.soap.SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
- Is a SAML Cache required, i.e. are we expecting a SAML Token
Apache CXF