Package org.gatein.wci.security
Class Credentials
java.lang.Object
org.gatein.wci.security.Credentials
- All Implemented Interfaces:
Serializable
- Version:
- $Revision$
- Author:
- Alain Defrance
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the password.Returns the username.
-
Field Details
-
CREDENTIALS
.- See Also:
-
-
Constructor Details
-
Credentials
Construct a new instance.- Parameters:
username- the username valuepassword- the password value- Throws:
NullPointerException- if any argument is null
-
-
Method Details
-
getUsername
Returns the username.- Returns:
- the username
-
getPassword
Returns the password.- Returns:
- the password
-