I have a spring security MVC application. In few JSP files I have code that looks like this:
Â Â Â
I have to make code changes (changing ROLE_FOO to something else) when deploying the app to production because it has different role names. So I was wondering whether there is a way to configure these role names in a property file and then pick those inside the tag.
So the code would look something like this:
Admin_Roles = ROLE_FOO ROLE_BAR
Â Â Â
btw, I am using Active Directory for authentication so these roles are pre-configured in the active directory for test and production.