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

UserAuthentication: Allow Password Change Via SimpleCredentials Attribute

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.1
    • core
    • None

    Description

      since the advent of OAK-1922 a pice of the puzzle has been missing: it is currently not possible for a user whose password has expired to change the same in the context of her own session, as login will fail prior to obtaining the session with which to change the password.

      the suggestion is therefore to allow a user to change his password in the course of the login process, namely by specifying an attribute of the SimpleCredentials object: "newPassword".

      upon verifying the user's credentials, before checking expiry, said attribute would then be used by the UserAuthentication to change the password.

      this way the user can change the password while expiry check succeeds (password = not expired) and a login is provided at the same time.

      a patch will be provided.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            angela Angela Schreiber
            dominique.jaeggi Dominique Jäggi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment