contextID = cfg.getProperty(Environment.JACC_CONTEXTID);
EJBMethodPermission loadPermission = new EJBMethodPermission( event.getPersister().getEntityName(), HibernatePermission.READ, null, null ); JACCPermissions.checkPermission( event.getEntity().getClass(), contextID, loadPermission );