Interface PasswordCredentials

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getPassword()
      Returns the password to use when authenticating to this repository.
      java.lang.String getUsername()
      Returns the user name to use when authenticating to this repository.
      void setPassword​(java.lang.String password)
      Sets the password to use when authenticating to this repository.
      void setUsername​(java.lang.String userName)
      Sets the user name to use when authenticating to this repository.
    • Method Detail

      • getUsername

        @Nullable
        java.lang.String getUsername()
        Returns the user name to use when authenticating to this repository.
        Specified by:
        getUsername in interface PasswordCredentials
        Returns:
        The user name. May be null.
      • setUsername

        void setUsername​(@Nullable
                         java.lang.String userName)
        Sets the user name to use when authenticating to this repository.
        Specified by:
        setUsername in interface PasswordCredentials
        Parameters:
        userName - The user name. May be null.
      • getPassword

        @Nullable
        java.lang.String getPassword()
        Returns the password to use when authenticating to this repository.
        Specified by:
        getPassword in interface PasswordCredentials
        Returns:
        The password. May be null.
      • setPassword

        void setPassword​(@Nullable
                         java.lang.String password)
        Sets the password to use when authenticating to this repository.
        Specified by:
        setPassword in interface PasswordCredentials
        Parameters:
        password - The password. May be null.