Shiro [urls] filtering with Vaadin's /#!/ style URLs

Hi

Is it possible to use Apache Shiro’s url filtering to filter Vaadins URLs which have a hash (#) in them?

http://demo.vaadin.com/dashboard/#!/sales

Am I trying something impossible here? How can I make the Shiro filter to pick up and distinguish between e.g.
http://demo.vaadin.com/dashboard/#!/sales
http://demo.vaadin.com/dashboard/#!/reports

I have tried in my shiro.ini things like

[urls]

/test/test.jsp#asdf = authc
/test/test.jsp##asdf = authc
/test/test.jsp#asdf = authc
/test/test.jsp = authc
/test/** = authc

The last and second last lines work fine when I navigate to /test/test.jsp

When I navigate to /test/test.jsp#asdf
I would expect the first line to be matched but it doesn’t. Instead the last line gets matched. Some log entries:

14:53:04,491 TRACE [org.apache.shiro.web.servlet.ProxiedFilterChain]
(http–127.0.0.1-8080-8) Invoking wrapped filter at index [1]

14:53:04,491 TRACE [org.apache.shiro.web.servlet.OncePerRequestFilter]
(http–127.0.0.1-8080-8) Filter ‘authc’ not yet executed. Executing now.
14:53:04,492 TRACE [org.apache.shiro.web.filter.PathMatchingFilter]
(http–127.0.0.1-8080-8) Attempting to match pattern ‘/prod/login.html’ with current requestURI ‘/test/test.jsp’…
14:53:04,492 TRACE [org.apache.shiro.web.filter.PathMatchingFilter]
(http–127.0.0.1-8080-8) Attempting to match pattern ‘/prod/kks.html’ with current requestURI ‘/test/test.jsp’…
14:53:04,492 TRACE [org.apache.shiro.web.filter.PathMatchingFilter]
(http–127.0.0.1-8080-8) Attempting to match pattern ‘/test/test.jsp#a**’ with current requestURI ‘/test/test.jsp’…
14:53:04,492 TRACE [org.apache.shiro.web.filter.PathMatchingFilter]
(http–127.0.0.1-8080-8) Attempting to match pattern ‘/test/test.jsp?a**’ with current requestURI ‘/test/test.jsp’…
14:53:04,492 TRACE [org.apache.shiro.web.filter.PathMatchingFilter]
(http–127.0.0.1-8080-8) Attempting to match pattern ‘/test/test.jsp’ with current requestURI ‘/test/test.jsp’…
14:53:04,493 TRACE [org.apache.shiro.web.filter.PathMatchingFilter]
(http–127.0.0.1-8080-8) Current requestURI matches pattern ‘/test/test.jsp’. Determining filter chain execution…
14:53:04,493 TRACE [org.apache.shiro.web.filter.PathMatchingFilter]
(http–127.0.0.1-8080-8) Filter ‘authc’ is enabled for the current request under path ‘/test/test.jsp’ with config [null]
. Delegating to subclass implementation for ‘onPreHandle’ check.

Any ideas?

Cheers
keimo