/** * disable this filer. All future queries will have no security context * associated with them and all items will be visible. * * @param session * a generic session object which can be used to disable this * filter. Each {@link SecuritySystem} implementation will * require a specifc session type. * @see EventHandler#invoke(org.aopalliance.intercept.MethodInvocation) */ public void disableReadFilter(Object session) { // Session system doesn't seem to provide this // i.e. isReady() is false here. Disabling but need to review // checkReady("disableReadFilter"); Session sess = (Session) session; for (final SecurityFilter filter : filters) { filter.disable(sess); } }
public void disable(Session sess) { choose().disable(sess); }