Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-635

handleUsernameTokenUnknown() should attach root cause

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.5.9
    • Fix Version/s: 2.0 RC1
    • Component/s: Security
    • Labels:
      None

      Description

      In my use of SpringPlainTextPasswordValidationCallbackHandler, I discovered that handleUsernameTokenUnknown() does not chain AuthenticationException to the propagated WSSecurityException. This caused me lots of trouble trying to determine the reason of some unexpected authentication failures. Can this handler (and other handlers) please set the root cause?

        Activity

        Hide
        tareq Tareq Abedrabbo added a comment -

        Fixed. I only found one location - the one you indicated - where the root exception was not set. Please let me know if you find others.

        Show
        tareq Tareq Abedrabbo added a comment - Fixed. I only found one location - the one you indicated - where the root exception was not set. Please let me know if you find others.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing old issues

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing old issues

          People

          • Assignee:
            tareq Tareq Abedrabbo
            Reporter:
            paul4christ79 Paul Benedict
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: