Schnittstelle PasswordCredentials

Alle Superschnittstellen:
Credentials, PasswordCredentials

public interface PasswordCredentials extends PasswordCredentials
A username/password credentials that can be used to login to password-protected remote repository.
  • Methodenübersicht

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

    • getUsername

      @Nullable String getUsername()
      Returns the user name to use when authenticating to this repository.
      Angegeben von:
      getUsername in Schnittstelle PasswordCredentials
      Gibt zurück:
      The user name. May be null.
    • setUsername

      void setUsername(@Nullable String userName)
      Sets the user name to use when authenticating to this repository.
      Angegeben von:
      setUsername in Schnittstelle PasswordCredentials
      Parameter:
      userName - The user name. May be null.
    • getPassword

      @Nullable String getPassword()
      Returns the password to use when authenticating to this repository.
      Angegeben von:
      getPassword in Schnittstelle PasswordCredentials
      Gibt zurück:
      The password. May be null.
    • setPassword

      void setPassword(@Nullable String password)
      Sets the password to use when authenticating to this repository.
      Angegeben von:
      setPassword in Schnittstelle PasswordCredentials
      Parameter:
      password - The password. May be null.