org.ow2.jonas.antmodular.jonasbase.security
Class User

java.lang.Object
  extended by org.ow2.jonas.antmodular.jonasbase.security.User

public class User
extends Object

Represents an User

Author:
Jeremy Cazaux

Constructor Summary
User()
          Default constructor
 
Method Summary
 String getDescription()
           
 String getGroups()
           
 String getName()
           
 String getPassword()
           
 String getRoles()
           
 void setDescription(String description)
           
 void setGroups(String groups)
           
 void setName(String name)
           
 void setPassword(String password)
           
 void setRoles(String roles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()
Default constructor

Method Detail

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 © 2013 OW2 Consortium. All Rights Reserved.