| java.lang.Object org.springframework.ws.soap.security.AbstractWsSecurityInterceptor
All known Subclasses: org.springframework.ws.soap.security.xwss.XwsSecurityInterceptor,
AbstractWsSecurityInterceptor | abstract public class AbstractWsSecurityInterceptor implements SoapEndpointInterceptor(Code) | | Interceptor base class for interceptors that handle WS-Security.
Subclasses of this base class can be configured to validate incoming and secure outgoing messages. By default, both
are on.
author: Arjen Poutsma |
Field Summary | |
final protected Log | logger Logger available to subclasses. |
logger | final protected Log logger(Code) | | Logger available to subclasses.
|
handleSecurementException | protected boolean handleSecurementException(WsSecuritySecurementException ex, MessageContext messageContext)(Code) | | Handles an securement exception. Default implementation logs the given exception, and returns
false .
Parameters: ex - the validation exception Parameters: messageContext - the message context true to continue processing the message, false (the default) otherwise |
handleValidationException | protected boolean handleValidationException(WsSecurityValidationException ex, MessageContext messageContext)(Code) | | Handles an invalid SOAP message. Default implementation logs the given exception, and creates a SOAP 1.1 Client
or SOAP 1.2 Sender Fault with the exception message as fault string, and returns false .
Parameters: ex - the validation exception Parameters: messageContext - the message context true to continue processing the message, false (the default) otherwise |
setSecureResponse | public void setSecureResponse(boolean secureResponse)(Code) | | Indicates whether outgoing responsed are to be secured. Defaults to true .
|
setValidateRequest | public void setValidateRequest(boolean validateRequest)(Code) | | Indicates whether incoming request are to be validated. Defaults to true .
|
|
|