Class SingleUserPasswordChangeEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.core.security.event.UserPasswordChangedEvent
io.jmix.core.security.event.SingleUserPasswordChangeEvent
All Implemented Interfaces:
Serializable

public class SingleUserPasswordChangeEvent extends UserPasswordChangedEvent
Class for password change event for a single user (typically, as a result of manual change). It includes user name and a new password.

Note: for the event of password reset use UserPasswordResetEvent. If you need to track all password changes, consider using the base class: UserPasswordChangedEvent.

See Also:
  • Constructor Details

    • SingleUserPasswordChangeEvent

      public SingleUserPasswordChangeEvent(String username, @Nullable String newPassword)
  • Method Details

    • getUsername

      public String getUsername()
    • getNewPassword

      @Nullable public String getNewPassword()