Group group = groupManager.getGroup(groupName);
if (group == null)
{
throw new SecurityException(SecurityException.PRINCIPAL_DOES_NOT_EXIST.createScoped(JetspeedPrincipalType.GROUP, groupName));
}
Role role = getRole(roleName);
if (role == null)
{
throw new SecurityException(SecurityException.PRINCIPAL_DOES_NOT_EXIST.createScoped(JetspeedPrincipalType.ROLE, roleName));
}
super.removeAssociation(group, role, JetspeedPrincipalAssociationType.IS_MEMBER_OF);