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