Security jetty安全域静态内容

Security jetty安全域静态内容,security,jetty,jdbcrealm,Security,Jetty,Jdbcrealm,码头9 设置上下文xml以提供静态html,该html在各种CI过程结束时动态生成 我在jetty.xml中设置了一个hashlogin域,如下所示 测试领域 E:/jimmy/http/jetty-distribution-9.2.10.v20150310/etc/realm.properties 然后在context.xml中,我这样做 上下文路径:/jimmyndepend 测试领域 /etc/realm.properties Set name=resourceBase E:/jimmy/

码头9

设置上下文xml以提供静态html,该html在各种CI过程结束时动态生成

我在jetty.xml中设置了一个hashlogin域,如下所示

测试领域 E:/jimmy/http/jetty-distribution-9.2.10.v20150310/etc/realm.properties 然后在context.xml中,我这样做

上下文路径:/jimmyndepend

测试领域 /etc/realm.properties Set name=resourceBase E:/jimmy/html

这个领域是这样的:

客人:客人

但是,在启动jetty时,我可以浏览到上下文/jimmyndepend,并且不会提示输入用户/密码

没有web.xml,我可以这样做吗

谢谢