Class PasswordCredential


  • public class PasswordCredential
    extends Object
    This class PasswordCredential is a place holder for the username/password object.
    • Constructor Detail

      • PasswordCredential

        public PasswordCredential​(String username,
                                  String password)
        Construct a credential with the specified password and user.
        Parameters:
        username - the user name.
        password - the password.
    • Method Detail

      • getUserName

        public String getUserName()
        Returns the user name.
        Returns:
        the user name.
      • getPassword

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