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.
      java.lang.String getUsername()
      Returns the user name to use when authenticating.
      void setPassword​(java.lang.String password)
      Sets the password to use when authenticating.
      void setUsername​(java.lang.String userName)
      Sets the user name to use when authenticating.
    • Method Detail

      • getUsername

        @Nullable
        java.lang.String getUsername()
        Returns the user name to use when authenticating.
        Returns:
        The user name. May be null.
      • setUsername

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

        @Nullable
        java.lang.String getPassword()
        Returns the password to use when authenticating.
        Returns:
        The password. May be null.
      • setPassword

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