Answer the question
In order to leave comments, you need to log in
Is it possible to make user roles configurable from outside the war application?
Hello.
Once again, when configuring the security of a java web application through web.xml\web-app\security-constraint, I ran into the fact that I don’t see a mechanism to set user role names with external settings. If we imagine that the user roles correspond to the group names in the ActiveDirectory domain, then when moving to another domain, these names may already be taken, and then the application will need to be rebuilt with the renamed roles. There is a "security-role-ref" parameter, but it is also "sewn up" in web.xml and, accordingly, gets into app.war.
Is it possible to set security role names from outside the web application?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question