Announcement Announcement Module
Collapse
No announcement yet.
Spring Web Services and Spring Security Exception handling Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 ?

    Thanks.
Working...
X