Package org.gatein.wci.security
Class Credentials
- java.lang.Object
-
- org.gatein.wci.security.Credentials
-
- All Implemented Interfaces:
Serializable
public class Credentials extends Object implements Serializable
- Version:
- $Revision$
- Author:
- Alain Defrance
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCREDENTIALS.
-
Constructor Summary
Constructors Constructor Description Credentials(String username, String password)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPassword()Returns the password.StringgetUsername()Returns the username.
-
-
-
Field Detail
-
CREDENTIALS
public static final String CREDENTIALS
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Credentials
public Credentials(String username, String password) throws NullPointerException
Construct a new instance.- Parameters:
username- the username valuepassword- the password value- Throws:
NullPointerException- if any argument is null
-
-