Package com.luciad.loaders
Class UsernamePasswordCredentials
java.lang.Object
com.luciad.loaders.UsernamePasswordCredentials
- All Implemented Interfaces:
Credentials
,AutoCloseable
Represents the user credentials.
-
Constructor Summary
ConstructorDescriptionUsernamePasswordCredentials
(String user, String password) Constructs the user credentials. -
Method Summary
-
Constructor Details
-
UsernamePasswordCredentials
Constructs the user credentials.- Parameters:
user
- the user name.password
- the user password.
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getUser
Returns the user name.- Returns:
- the user name.
-
getPassword
Returns the user password.- Returns:
- the user password.
-