Package jenkins.security.seed
Class UserSeedChangeListener
- java.lang.Object
-
- jenkins.security.seed.UserSeedChangeListener
-
- All Implemented Interfaces:
ExtensionPoint
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public abstract class UserSeedChangeListener extends Object implements ExtensionPoint
Listener notified when a user was requested to changed their seed
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description UserSeedChangeListener()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static 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.
-
-
-
Method Detail
-
onUserSeedRenewed
public abstract void onUserSeedRenewed(@NonNull User user)
Called after a seed was changed but before the user is saved.- Parameters:
user
- The target user
-
fireUserSeedRenewed
public static void fireUserSeedRenewed(@NonNull User user)
Will notify all the registered listeners about the event- Parameters:
user
- The target user
-
-