@Override
    public void init(FilterConfig config) throws ServletException {
        context = config.getServletContext();
        defaultLoginPage = config.getInitParameter("defaultLoginPage");
        String excludesProp = config.getInitParameter("excludes");
        if (excludesProp != null) {
            StringTokenizer tokenizer = new StringTokenizer(excludesProp, ",");
            while (tokenizer.hasMoreTokens()) {
                String tok = tokenizer.nextToken().trim();
                addExclude(tok);
            }
        }
    }
Returns true if a URL passes an exclude rule.

@param url the URL to test.
@param exclude the exclude rule.
@return true if the URL passes the exclude test.
xmppserver/src/main/java/org/jivesoftware/admin/AuthCheckFilter.java