Class User
java.lang.Object
org.citrusframework.http.security.User
User model object for easy instantiation in Spring application context.
- Since:
- 1.3
- Author:
- Christoph Deppisch
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
User
public User()Default constructor. -
User
Default constructor using fields.- Parameters:
name-password-roles-
-
-
Method Details
-
getName
Gets the name.- Returns:
- the name the name to get.
-
setName
Sets the name.- Parameters:
name- the name to set
-
getPassword
Gets the password.- Returns:
- the password the password to get.
-
setPassword
Sets the password.- Parameters:
password- the password to set
-
getRoles
Gets the roles.- Returns:
- the roles the roles to get.
-
setRoles
Sets the roles.- Parameters:
roles- the roles to set
-