contextID = cfg.getProperty(Environment.JACC_CONTEXTID);
EJBMethodPermission updatePermission = new EJBMethodPermission( event.getPersister().getEntityName(), HibernatePermission.UPDATE, null, null ); JACCPermissions.checkPermission( event.getEntity().getClass(), contextID, updatePermission ); return false;