Interface UserPasswordCredentials

All Superinterfaces:
AuthenticationProvider
All Known Implementing Classes:
FileUserPasswordCredentials, SimpleUserPasswordCredentials

@Deprecated public interface UserPasswordCredentials extends AuthenticationProvider
Deprecated.
since 7.1.0, use TokenCredentials instead
User name and password authentication provider.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    authenticate(org.apache.http.client.methods.HttpRequestBase request)
    Deprecated.
     
    Deprecated.
     
    Deprecated.
     
  • Method Details

    • getUsername

      String getUsername()
      Deprecated.
    • getPassword

      String getPassword()
      Deprecated.
    • authenticate

      default void authenticate(org.apache.http.client.methods.HttpRequestBase request) throws org.apache.http.auth.AuthenticationException
      Deprecated.
      Specified by:
      authenticate in interface AuthenticationProvider
      Throws:
      org.apache.http.auth.AuthenticationException