Apr 19th, 2012, 01:49 PM
Spring Web Services and Spring Security Exception handling
I am trying to think of an solution to cascade exceptions from Spring security as soap faults in Spring Web services.
We use Spring web services and perform authentication using SimplePlainTextPasswordValidationCallbackHandler.
However all customized exceptions from within spring security get output as a "Invalid Soap Header" in the soap response.
Any way we could perhaps override this behavior to cascade our customized exception to Spring WS ? I did come across SoapFaultMappingExceptionResolver, will configuring that also capture Security or any customized exceptions ?
Tags for this Thread