开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜