Update the newInstance() method within the Details class of HudsonPrivateSecurityRealm; to make use of a subclass of the UserPropertyListener abstract class or (preferably) interface. The Details class specifically handles the update of user-password changes made from the Jenkins UI in a user's configuration page.
- This update will require the creation of a new PasswordPropertyListener subclass, which the relevant HudsonPrivateSecurityRealm.Details class methods call, within the jenkins-core hudson/security package.
- Unit tests for the updated HudsonPrivateSecurityRealm.Details class method should be implemented, to verify its correctness, and should be added to the preexisting Jenkins unit tests for the HudsonPrivateSecurityRealm.Details class.
The UserProperty abstract class or (preferably) interface related to listening for user property-change events was added in