vendredi 20 mars 2015

Is it possible to persist a security configuration and dynamically change it?

I'm using Spring security 3. I'm trying to solve the following problem. I need to persist a security configuration for intercepted urls and provide the ability to dynamically change it. For instance:



<security:intercept-url pattern="/secure/super/**" access="ROLE_WE_DONT_HAVE"/>


I need to change the access to the page, satisfying that url pattern as well as store new rules. The issue is that specifying those rules via xml-config cannot be changed in runtime dynamically. Is it possible to implement at all?


Aucun commentaire:

Enregistrer un commentaire