[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
Loading
Please register or sign in to comment