Package esendex.sdk.java.service.auth
Class UserPassword
java.lang.Object
esendex.sdk.java.service.auth.UserPassword
Simple holder for a user/password pair. Used for Basic Authentication and
initial aquisition of a session for Session Authentication.
- Author:
- Mike Whittaker
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a UserPassword with empty String fields.UserPassword
(String user, String password) Creates a UserPassword with the provided arguments. -
Method Summary
-
Constructor Details
-
UserPassword
Creates a UserPassword with the provided arguments.- Parameters:
user
- must not be nullpassword
- must not be null
-
UserPassword
public UserPassword()Creates a UserPassword with empty String fields. A safe non authenticating object.
-
-
Method Details