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