public class PolicyBasedWSS4JStaxInInterceptor extends WSS4JStaxInInterceptor
| Modifier and Type | Field and Description |
|---|---|
static PolicyBasedWSS4JStaxInInterceptor |
INSTANCE |
SECURITY_PROCESSED| Constructor and Description |
|---|
PolicyBasedWSS4JStaxInInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureProperties(SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties) |
protected List<org.apache.xml.security.stax.securityEvent.SecurityEventListener> |
configureSecurityEventListeners(SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties) |
protected org.apache.wss4j.stax.ext.WSSSecurityProperties |
createSecurityProperties() |
void |
handleMessage(SoapMessage msg)
Intercepts a message.
|
protected boolean |
isNonceCacheRequired(SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
Is a Nonce Cache required, i.e.
|
protected boolean |
isSamlCacheRequired(SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
Is a SAML Cache required, i.e.
|
protected boolean |
isTimestampCacheRequired(SoapMessage msg,
org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
Is a Timestamp cache required, i.e.
|
isGETconfigureCallbackHandler, getAdditionalInterceptors, getAfter, getBefore, getEncryptionCrypto, getId, getOption, getPassword, getPasswordEncryptor, getPhase, getProperties, getProperty, getRoles, getSignatureCrypto, getUnderstoodHeaders, handleFault, isRequestor, loadCrypto, loadCryptoFromPropertiesFile, postHandleMessage, setId, setPassword, setPhase, setProperty, translatePropertiespublic static final PolicyBasedWSS4JStaxInInterceptor INSTANCE
public void handleMessage(SoapMessage msg) throws Fault
InterceptorhandleMessage in interface Interceptor<SoapMessage>handleMessage in class WSS4JStaxInInterceptorFaultprotected org.apache.wss4j.stax.ext.WSSSecurityProperties createSecurityProperties()
createSecurityProperties in class AbstractWSS4JStaxInterceptorprotected void configureProperties(SoapMessage msg, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties) throws org.apache.xml.security.exceptions.XMLSecurityException
configureProperties in class WSS4JStaxInInterceptororg.apache.xml.security.exceptions.XMLSecurityExceptionprotected boolean isNonceCacheRequired(SoapMessage msg, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
isNonceCacheRequired in class WSS4JStaxInInterceptorprotected boolean isTimestampCacheRequired(SoapMessage msg, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
isTimestampCacheRequired in class WSS4JStaxInInterceptorprotected boolean isSamlCacheRequired(SoapMessage msg, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
isSamlCacheRequired in class WSS4JStaxInInterceptorprotected List<org.apache.xml.security.stax.securityEvent.SecurityEventListener> configureSecurityEventListeners(SoapMessage msg, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties) throws org.apache.wss4j.common.WSSPolicyException
configureSecurityEventListeners in class WSS4JStaxInInterceptororg.apache.wss4j.common.WSSPolicyExceptionApache CXF