Re: Pretty Faces and Spring Security 3

Splash Forums PrettyFaces Users Pretty Faces and Spring Security 3 Re: Pretty Faces and Spring Security 3

#20483

piofinsy
Participant

Hi Lincoln,

I’ve very same problem as Sergiu’s, I noticed (also here: http://ocpsoft.com/support/topic/problem-spring-security-prettyfaces) that general advise is to place pretty filter *after* spring security filter.

Is this the only option?

We’ve complex authorization subsystem that operates on viewIds (they’re stored in the database, assigned to the users, etc.) so for it to work the pretty filter must probably be placed *before* security filter so that address translation is done in most transparent way.

Can it be configured somehow? Should I alter Spring security’s behavior in any way so that it remembers original, user-visible URLs instead of viewIds and if so — where?