String roleName = role.getName();
String groupName = group.getName();
if (!accountExists(user))
{
throw new UnknownEntityException(
"User '" + userName + "' does not exist");
}
if (!checkExists(role))
{
throw new UnknownEntityException(
"Role '" + roleName + "' does not exist");
}
if (!checkExists(group))
{
throw new UnknownEntityException(
"Group '" + groupName + "' does not exist");
}
// Make the distinguished name.
String dn = "turbineGroupName=" + groupName + ","