Tomcat BASIC Auth without web.xml modification
Is there any possibility to add co开发者_如何学编程ntainer basic auth without changing application web.xml, which is located inside war file? Maybe I can add something in ${catalina_home}/conf/Catalina/localhost/.xml
You may try to declare the BasicAuthenticator in your context.xml but it will require some underlying realm which appropriate roles.
精彩评论