Class UserSeedChangeListener

java.lang.Object
jenkins.security.seed.UserSeedChangeListener
All Implemented Interfaces:
ExtensionPoint

public abstract class UserSeedChangeListener extends Object implements 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
  • Constructor Details

    • UserSeedChangeListener

      public UserSeedChangeListener()
  • Method Details

    • 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