org.ow2.jonas.antmodular.jonasbase.security
Class User
java.lang.Object
org.ow2.jonas.antmodular.jonasbase.security.User
public class User
- extends Object
Represents an User
- Author:
- Jeremy Cazaux
|
Constructor Summary |
User()
Default constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
User
public User()
- Default constructor
getName
public String getName()
- Returns:
- the name of the user
getPassword
public String getPassword()
- Returns:
- the password of the user
setName
public void setName(String name)
- Parameters:
name - User's name to set
setPassword
public void setPassword(String password)
- Parameters:
password - User's password to set
getRoles
public String getRoles()
- Returns:
- the user's roles
setRoles
public void setRoles(String roles)
- Parameters:
roles - The user's roles to set
getDescription
public String getDescription()
- Returns:
- the description of the role
setDescription
public void setDescription(String description)
- Parameters:
description - The description of the role to set
getGroups
public String getGroups()
- Returns:
- the group of the user if exist
setGroups
public void setGroups(String groups)
- Parameters:
groups - The group of the user to set
Copyright © 2012 OW2 Consortium. All Rights Reserved.