Arturo San Feliciano Martín wrote: > > Is there any way to build dinamicaly the asociantions between url pattern and > ROLE (or profile) ? > > Could I save in a DataBase these associations(URL pattern-Profile(ROLE))? > could acegi could ask for them?
Hi Arturo You can write a custom FilterInvocationDefinitionSource and obtain the information from anywhere. I'm aware of at least one content management system that pulls the metadata from a database. Once you've written a database FilterInvocationDefinitionSource, simply use <property name="objectDefinitionSource" ref="xx"/> element inside your FilterSecurityInteceptor bean definition. Cheers Ben ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Home: http://acegisecurity.org Acegisecurity-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
