Package jenkins.security.seed
Class UserSeedChangeListener
java.lang.Object
jenkins.security.seed.UserSeedChangeListener
- All Implemented Interfaces:
ExtensionPoint
Listener notified when a user was requested to changed their seed
- Since:
- 2.160 and 2.150.2, but restricted (unavailable to plugins) before 2.406
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
fireUserSeedRenewed
(User user) Will notify all the registered listeners about the eventabstract void
onUserSeedRenewed
(User user) Called after a seed was changed but before the user is saved.
-
Constructor Details
-
UserSeedChangeListener
public UserSeedChangeListener()
-
-
Method Details
-
onUserSeedRenewed
Called after a seed was changed but before the user is saved.- Parameters:
user
- The target user
-
fireUserSeedRenewed
Will notify all the registered listeners about the event- Parameters:
user
- The target user
-