Class UsernamePasswordCredentials

    • Constructor Detail

      • UsernamePasswordCredentials

        public UsernamePasswordCredentials​(String username,
                                           String password)
        Creates a new UsernamePasswordCredentials instance.
        Parameters:
        username - Username. Cannot be null or empty
        password - Password. Cannot be null or empty
    • Method Detail

      • getUsername

        public String getUsername()
        Returns the username.
        Returns:
        A String denoting username
      • getPassword

        public String getPassword()
        Returns the password.
        Returns:
        A String denoting password