Results 1 to 2 of 2

Thread: Configuring fault messages from WsSecurityInterceptor

  1. #1
    Join Date
    Feb 2005
    Posts
    4

    Default Configuring fault messages from WsSecurityInterceptor

    Is it possible to customise the fault generated by the WsSecurityInterceptor? At the moment it generates a fault that reveals a little too much of the internal implementation. I know you can set a default fault in the exception resolver, but those don't seem to be called for the security interceptors.

    Code:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP-ENV:Header/>
       <SOAP-ENV:Body>
          <SOAP-ENV:Fault>
             <faultcode>SOAP-ENV:Client</faultcode>
             <faultstring xml:lang="en">com.sun.xml.wss.impl.WssSoapFaultException: Authentication of Username Password Token Failed; nested exception is com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.impl.WssSoapFaultException: Authentication of Username Password Token Failed</faultstring>
          </SOAP-ENV:Fault>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

  2. #2
    Join Date
    Apr 2009
    Posts
    14

    Default

    Hi Bigdan,

    were you able to find any solution for this issue?

    thanks,
    Muein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •