@Override
    public void init(FilterConfig filterConfig) throws ServletException {

        String includeFilterURL = filterConfig.getInitParameter("include");
        if (includeFilterURL == null)
            return;
        includeFilterPattern = createPattern(includeFilterURL, "\\.", "|\\.");

        String excludeFilterURL = filterConfig.getInitParameter("exclude");
        if (excludeFilterURL == null)
            return;
        excludeFilterPattern = createPattern(excludeFilterURL, "/", "|/");
    }