开发者

Tomcat BASIC Auth without web.xml modification

开发者 https://www.devze.com 2023-03-27 03:35 出处:网络
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/Catalin

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消