Package com.caplin.credentials
Class Credentials
java.lang.Object
com.caplin.credentials.Credentials
Contains the username and token (or password) to be used to login to a Liberator or other remote Caplin server.
-
Constructor Summary
ConstructorsConstructorDescriptionCredentials(String username, String token) Creates an instance of Credentials with the specified username and token. -
Method Summary
-
Constructor Details
-
Credentials
Creates an instance of Credentials with the specified username and token.- Parameters:
username- The uesrname to be used to login.token- The token (or password) to be used to login.- Throws:
IllegalArgumentException- If either the username or token arguments are null.
-
-
Method Details