chkal/pf-issue-test — Issue #112: Add note about filter ordering in documentation
Author: chkal
Created: 2012-03-06 07:37:52+00:00
State: open

Originally filed by **lincolnb...@gmail.com** on 2011-06-28T13:49:16

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=114

Let's say you have the mapping:

/app/admin -> /faces/admin.jsf

Now let's say that Spring security is configured to restrict /app/admin

If Spring's filter is after PrettyFaces filter, Spring's filter will never be given a chance to intercept the request, because it never sees a request of /app/admin. It only sees /faces/admin.jsf.

However, if Spring's filter comes before PrettyFilter in this case, it will work just fine.

We should definitely add a note about it in the docs.