Schnittstelle PasswordCredentials

Alle Superschnittstellen:
Credentials
Alle bekannten Unterschnittstellen:
PasswordCredentials
Alle bekannten Implementierungsklassen:
HttpBuildCacheCredentials

public interface PasswordCredentials extends Credentials
A username/password credentials that can be used to login to something protected by a username and password.
Seit:
3.5
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns the password to use when authenticating.
    Returns the user name to use when authenticating.
    void
    setPassword(String password)
    Sets the password to use when authenticating.
    void
    setUsername(String userName)
    Sets the user name to use when authenticating.
  • Methodendetails

    • getUsername

      @Nullable String getUsername()
      Returns the user name to use when authenticating.
      Gibt zurück:
      The user name. May be null.
    • setUsername

      void setUsername(@Nullable String userName)
      Sets the user name to use when authenticating.
      Parameter:
      userName - The user name. May be null.
    • getPassword

      @Nullable String getPassword()
      Returns the password to use when authenticating.
      Gibt zurück:
      The password. May be null.
    • setPassword

      void setPassword(@Nullable String password)
      Sets the password to use when authenticating.
      Parameter:
      password - The password. May be null.