| |
|
| java.lang.Object org.objectweb.jonas.security.realm.principals.Group
Group | public class Group implements Serializable,GroupMBean(Code) | | This class define the Group class which represent a group with its associated
roles
author: Florent Benoit |
SEPARATOR | final protected static String SEPARATOR(Code) | | Separator of the roles
|
Group | public Group()(Code) | | Default Constructor
|
Group | public Group(String name)(Code) | | Constructor with a given name
Parameters: name - the name of this group |
addRole | public void addRole(String role)(Code) | | Add a role to this group
Parameters: role - the given role |
getArrayRoles | public String[] getArrayRoles()(Code) | | Get the roles
the array of the roles |
getDescription | public String getDescription()(Code) | | Get the description of this group
the description of this group |
getName | public String getName()(Code) | | Get the name of this user
the name of this user |
getRoles | public String getRoles()(Code) | | Get the roles
the array of the roles |
removeRole | public void removeRole(String role)(Code) | | Remove a role from this group
Parameters: role - the given role |
setDescription | public void setDescription(String description)(Code) | | Set the description of this group
Parameters: description - description of the group |
setName | public void setName(String name)(Code) | | Set the name of this user
Parameters: name - Name of the user |
setRoles | public void setRoles(String roles)(Code) | | Set the roles of the group
Parameters: roles - the list of the roles of the group |
toString | public String toString()(Code) | | Use the XML representation of this object
the XML representation of this object |
toXML | public String toXML()(Code) | | String representation of the group
the xml representation of the group |
|
|
|