Package com.consol.citrus.http.security
Class User
- java.lang.Object
-
- com.consol.citrus.http.security.User
-
public class User extends Object
User model object for easy instantiation in Spring application context.- Since:
- 1.3
- Author:
- Christoph Deppisch
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the name.StringgetPassword()Gets the password.String[]getRoles()Gets the roles.voidsetName(String name)Sets the name.voidsetPassword(String password)Sets the password.voidsetRoles(String[] roles)Sets the roles.
-
-
-
Method Detail
-
getName
public String getName()
Gets the name.- Returns:
- the name the name to get.
-
setName
public void setName(String name)
Sets the name.- Parameters:
name- the name to set
-
getPassword
public String getPassword()
Gets the password.- Returns:
- the password the password to get.
-
setPassword
public void setPassword(String password)
Sets the password.- Parameters:
password- the password to set
-
getRoles
public String[] getRoles()
Gets the roles.- Returns:
- the roles the roles to get.
-
setRoles
public void setRoles(String[] roles)
Sets the roles.- Parameters:
roles- the roles to set
-
-