Results 1 to 1 of 1

Thread: Propagate CredentialsExpiredException in SoapFaultClientException

  1. #1
    Join Date
    Sep 2006
    Location
    Germany
    Posts
    73

    Default Propagate CredentialsExpiredException in SoapFaultClientException

    Using Spring-ws-security 1.5.5, with xwss SpringPlainTextPasswordValidationCallbackHandler.

    Now I want to propagate CredentialsExpiredException to the ws-client, but the xwss SpringPlainTextPasswordValidationCallbackHandler.S pringSecurityPlainTextPasswordValidator.validate() catches all authentication exceptions so I only get:

    WssSoapFaultException: Authentication of Username Password Token Failed

    Is there a standard way to propagate CredentialsExpiredException to the SoapFault instead of implementing my own PlainTextPasswordValidationCallbackHandler?

    Maybe this is related to https://jira.springframework.org/browse/SWS-635
    Last edited by robertoschwald; Nov 18th, 2010 at 07:57 AM.

Posting Permissions

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