我想创建一个.war,它包含用于web GUI的基于web的表单登录和基本身份验证(在本例中,用于web服务接口)
/index.html (unsecured welcome page)
+---/interactive (folder containing web pages using auth-method=FORM)
+---/service (servlet mapping for web service using auth-method=BASIC)
我看不到在web.xml文件中配置这种设置的方法。似乎登录配置不能出现在安全配置中,并且它只允许.war全局使用单个身份验证方法。