Class Credentials

    • Constructor Detail

      • Credentials

        public Credentials​(String username,
                           String password)
        Construct a new credentials DTO
        Parameters:
        username - the user name, must not be null
        password - the user's password, can be null
    • Method Detail

      • getUsername

        public String getUsername()
        Returns:
        the username
      • getPassword

        public String getPassword()
        Returns:
        the password