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

        paul4christ79 Paul Benedict created issue -
        tareq Tareq Abedrabbo made changes -
        Field Original Value New Value
        Assignee Arjen Poutsma [ arjen.poutsma ] Tareq Abedrabbo [ tareq ]
        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.
        tareq Tareq Abedrabbo made changes -
        Fix Version/s 2.0 M4 [ 11626 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Complete [ 8 ]
        arjen.poutsma Arjen Poutsma made changes -
        Fix Version/s 2.0 M4 [ 11626 ]
        Fix Version/s 2.0 RC1 [ 11392 ]
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing old issues

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing old issues
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        13d 13h 41m 1 Tareq Abedrabbo 31/Aug/10 10:55 AM
        Resolved Resolved Closed Closed
        611d 20h 7m 1 Arjen Poutsma 04/May/12 7:03 AM

          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: