I'm using jdbc-user-service way... that's nice. Solve almost 100% of my problem. I'm using to write the pattern:
But I'm not very happy with this.. I would like to use it with data coming from the DataBase...
<intercept-url pattern="/support_index.xhtml*" access="SUPPORT"/>
<intercept-url pattern="/support_admin.xhtml*" access="SUPPORT"/>
<intercept-url pattern="/support_menu.xhtml*" access="SUPPORT"/>
I mean add Page("/support*"); and associated it with Role.add(page) dynamically.... What strategic should I follow?
ps: I already know how to put data on DB I just want to know how can I let the url and role association dynamic... (such as using jdbc-user-service ...)