Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9178

PasswordHistory.updatePasswordHistory may return false status

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.34.0
    • core, security
    • None

    Description

      PasswordHistory.updatePasswordHistory is defined to return true if:

      returns true if the history is enabled, the new password is not included in the history and the history was successfully updated; false otherwise.
      

      however, if the feature is enabled and shiftPasswordHistory doesn't perform the update, the method still returns true. instead shiftPasswordHistory should report if the history was updated and the return value should be respected by PasswordHistory.updatePasswordHistory.

      Attachments

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: