Skip to content
Commit 0a6f0bb0 authored by Mike Glazer's avatar Mike Glazer Committed by Wadeck Follonier
Browse files

[JENKINS-55428]: Support API creation with a hashed password (#3817)

* Support API creation with a hashed password

The purpose of this commit is to enable Jenkins Configuration
as Code to construct users via configuration, without the
need to store their passwords in plain text on disk.

* Fix test error

* PR Updates

* Create new method for creating account with a hashed password
* Add method for determining if a password is hashed or not.

* CR Updates

* Add check for hash validity

* Whitespace fix

* Fixup compile errors because PasswordEncoder doesn't have new methods

* Fix whitespace issue

* Add back whitespace

* Improve regex to check the log number of rounds / better version check
- add more tests for versions support to keep aligned with the library
parent c22edc93
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment