Update the newInstance() method within the Details class of HudsonPrivateSecurityRealm; to make use of the user-property-change listener method a subclass of the SecurityListener 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. * To perform this This update will require modifying 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 SecurityListener UserProperty abstract class method or (preferably) interface related to listening for user-property-change events was added in JENKINS-56005