Re: Use pretty to build a security filter

Splash Forums PrettyFaces Users Use pretty to build a security filter Re: Use pretty to build a security filter

#20380

@nicog: You have one real option right now.

First:

With version 3.1.1 (Currently 3.1.1-SNAPSHOT is available) you can add a ConfigurationPostProcessor which will add an Action to every URL-mapping:

http://ocpsoft.com/docs/prettyfaces/snapshot/en-US/html/Extensions.html#ConfigurationPostProcessor

In the postProcessor, you would need to loop over all the elements in the configuration and add a “new UrlAction()” to your desired mappings.

We are currently working on supporting inheritable actions via prettyfaces configuration, but it’s a complex issue and will probably need to wait for 3.1.2.