Class UsernamePasswordCredentials

java.lang.Object
com.luciad.loaders.UsernamePasswordCredentials
All Implemented Interfaces:
Credentials, AutoCloseable

public final class UsernamePasswordCredentials extends Object implements AutoCloseable, Credentials
Represents the user credentials.
  • Constructor Details Link icon

    • UsernamePasswordCredentials Link icon

      public UsernamePasswordCredentials(@NotNull String user, @NotNull String password)
      Constructs the user credentials.
      Parameters:
      user - the user name.
      password - the user password.
  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Object
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getUser Link icon

      @NotNull public String getUser()
      Returns the user name.
      Returns:
      the user name.
    • getPassword Link icon

      @NotNull public String getPassword()
      Returns the user password.
      Returns:
      the user password.