Package com.tangosol.net.security
Class UsernameAndPassword
java.lang.Object
com.tangosol.net.security.UsernameAndPassword
Security token containing a username and password.
- Author:
- as 2011.12.23
-
Constructor Summary
ConstructorDescriptionUsernameAndPassword
(String sUsername, char[] acPassword) Construct a new UsernameAndPassword instance.UsernameAndPassword
(String sUsername, String sPassword) Construct a new UsernameAndPassword instance. -
Method Summary
Modifier and TypeMethodDescriptionchar[]
Return the password.Return the username.
-
Constructor Details
-
UsernameAndPassword
Construct a new UsernameAndPassword instance.- Parameters:
sUsername
- the usernamesPassword
- the password
-
UsernameAndPassword
Construct a new UsernameAndPassword instance.- Parameters:
sUsername
- the usernameacPassword
- the password
-
-
Method Details
-
getUsername
Return the username.- Returns:
- the username
-
getPassword
public char[] getPassword()Return the password.- Returns:
- the password
-