Can the <security-constraint> tag in web.xml be dynamically generated or written outside of web.xml?
I ran into a problem, I want to dynamically set the security restriction tag according to my configuration file, but I cannot do this. Therefore, I hope that the tag in web.xml can be dynamically generated or written outside of web.xml. Many thanks for your help!
0
Johny Sun
source share1 answer
I think your question may be related to this . However, if you are working with the Servlet 3.0 specification, you can try using the software add and configure security for the servlet, as shown here .
+2
Juan Carlos GonzΓ‘lez
source share