You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
369 B

  1. package de.fd.fh.server.user.events;
  2. import de.fd.fh.server.user.UserId;
  3. import lombok.Getter;
  4. @Getter
  5. public class ChangePasswordEvent
  6. {
  7. private final String newPassword;
  8. private final UserId userId;
  9. public ChangePasswordEvent(final UserId userId, final String password)
  10. {
  11. this.newPassword = password;
  12. this.userId = userId;
  13. }
  14. }