Status: Resolved (View Workflow)
Update the methods within the ApiTokenProperty class; to make use of a subclass of the UserPropertyListener abstract class or (preferably) interface. This subclass has methods which handle notification of api-token creations and deletions made from the Jenkins UI in a user's configuration page.
- This update requires the creation of a new ApiTokenPropertyListener subclass of UserPropertyListener within the jenkins-core hudson/security package. The relevant method(s) in ApiTokenProperty then call this new listener.
- Unit tests for the ApiTokenPropertyListener class method should be implemented, to verify its correctness, and should be added to the preexisting Jenkins unit tests for the ApiTokenProperty class.
The UserPropertyListener abstract class or (preferably) interface related to listening for user property-change events was added in