/**
* @see de.iritgo.aktera.usergroupmgr.GroupManager#createGroup(java.lang.String, java.lang.String)
*/
public Group createGroup(String name, String description) throws UserMgrException
{
Group group;
try
{
group = (Group) getService(Group.ROLE, "persist-group");
}
catch (ServiceException e)
{
throw new UserMgrException("Error getting group service from container", e);
}
group.set(Group.Property.NAME, name);
group.set(Group.Property.DESCRIPTION, description);
return group;
}