Class ChangePasswordRequest

java.lang.Object
com.dzidzi.dto.credential.ChangePasswordRequest

public class ChangePasswordRequest extends Object
ChangePasswordRequest represents the DTO request containing the objects used to update an existing user password or username.
  • Constructor Details

    • ChangePasswordRequest

      public ChangePasswordRequest()
  • Method Details

    • getOldPass

      public String getOldPass()
      The existing password
    • getNewPass

      public String getNewPass()
      The new password to use. Password should contain lowercase, uppercase, number, special character and at least 12 characters.
    • getUsername

      public String getUsername()
      The new username of the user
    • setOldPass

      public void setOldPass(String oldPass)
      The existing password
    • setNewPass

      public void setNewPass(String newPass)
      The new password to use. Password should contain lowercase, uppercase, number, special character and at least 12 characters.
    • setUsername

      public void setUsername(String username)
      The new username of the user