private boolean checkInstanceSecurity(Object service, String serviceId, UserEnvironment ue)
throws AuthorizationException
{
for (String group : ue.getGroups())
{
InstanceSecurity security = authorizationDAO.findInstanceSecurityById(service.getClass().getName(),
serviceId, group);
if (security != null)
{
if (security.getOperationsAllowed().equals("*"))
{
return true;
}
}
}