code: public void init(FilterConfig filterConfig) throws ServletException {
      ctx = filterConfig.getServletContext();
      String temp = filterConfig.getInitParameter("debug");
      debug = (String.valueOf(temp).equals("true"));
    }
docs: /* (non-Javadoc)
  @see javax.servlet.Filter#init(javax.servlet.FilterConfig)