spring - update XML file in a page Jsp -


i use spring security , have many roles in database example role_admin , role_user in xml file named "spring-security.xml" defin each page wich role can see :

<http auto-config="true">         <intercept-url pattern="/" access="role_admin,role_user" />         <intercept-url pattern="/index*" access="role_admin,role_user" />         <intercept-url pattern="/les_statistiques*" access="role_admin,role_user"/>         <intercept-url pattern="/mise_a_jour*" access="role_admin,role_user" />         <intercept-url pattern="/recherche*" access="role_admin,role_user" />         <form-login login-page="/login" authentication-failure-url="/faillogin" />         <logout logout-success-url="/logoff" />         <access-denied-handler error-page="/403"/>     </http>    

what want have page jsp administrator can chang value of parameter access . how can it? should use?


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -