public class PolicyBasedWSS4JStaxInInterceptor extends WSS4JStaxInInterceptor
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.
|
isGET
configureCallbackHandler, getAdditionalInterceptors, getAfter, getBefore, getEncryptionCrypto, getId, getOption, getPassword, getPasswordEncryptor, getPhase, getProperties, getProperty, getRoles, getSignatureCrypto, getUnderstoodHeaders, handleFault, isRequestor, loadCrypto, loadCryptoFromPropertiesFile, postHandleMessage, setId, setPassword, setPhase, setProperty, translateProperties
public void handleMessage(SoapMessage msg) throws Fault
Interceptor
handleMessage
in interface Interceptor<SoapMessage>
handleMessage
in class WSS4JStaxInInterceptor
Fault
protected org.apache.wss4j.stax.ext.WSSSecurityProperties createSecurityProperties()
createSecurityProperties
in class AbstractWSS4JStaxInterceptor
protected void configureProperties(SoapMessage msg, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties) throws org.apache.xml.security.exceptions.XMLSecurityException
configureProperties
in class WSS4JStaxInInterceptor
org.apache.xml.security.exceptions.XMLSecurityException
protected boolean isNonceCacheRequired(SoapMessage msg, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
isNonceCacheRequired
in class WSS4JStaxInInterceptor
protected boolean isTimestampCacheRequired(SoapMessage msg, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
isTimestampCacheRequired
in class WSS4JStaxInInterceptor
protected boolean isSamlCacheRequired(SoapMessage msg, org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
isSamlCacheRequired
in class WSS4JStaxInInterceptor
protected 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 WSS4JStaxInInterceptor
org.apache.wss4j.common.WSSPolicyException
Apache CXF