Prove Of Concept to filtering attribute base using apache fortress
Step by step configuration :
- change fortress.properties configuration (src/main/resources/fortress.properties)
- run your fortress
- run this application and you will see blank demo1.jsp
- register permission object with your page as object name (naming convention will be
page
#object.attribute
) - register permissions with operation name (naming convention will be
page
^filter) and link it to your prefer role name
- link user (at your fortress.properties) with role
- refresh the page.
To run application :
mvn clean install && mvn jetty:run -Dversion=fortress-version