@Override
            protected boolean isEnabled(ServletRequest request, ServletResponse response,
                                        String path, Object mappedValue) throws Exception {
                return !path.equals(DISABLED_PATH);
            }
Tests the following assumptions:

<pre>
URL                 Must match pattern      Must not match pattern
/foo/               /foo/*                  /foo* || /foo
/foo/bar            /foo/*                  /foo* || /foo
/foo                /foo                    /foo/*
</pre>
web/src/test/java/org/apache/shiro/web/filter/PathMatchingFilterParameterizedTest.java