Class UsernamePasswordCredentials

java.lang.Object
org.apache.http.auth.UsernamePasswordCredentials
All Implemented Interfaces:
Serializable, Credentials

@Immutable public class UsernamePasswordCredentials extends Object implements Credentials, Serializable
Simple Credentials implementation based on a user name / password pair.
Since:
4.0
See Also:
  • Constructor Details

    • UsernamePasswordCredentials

      public UsernamePasswordCredentials(String usernamePassword)
      The constructor with the username and password combined string argument.
      Parameters:
      usernamePassword - the username:password formed string
      See Also:
    • UsernamePasswordCredentials

      public UsernamePasswordCredentials(String userName, String password)
      The constructor with the username and password arguments.
      Parameters:
      userName - the user name
      password - the password
  • Method Details