IBM WebSphere Application Server(V9)如何处理HTTP基本身份验证中的领域
我想知道我是否应该在web.xml中为领域设置与服务器上的联邦存储库(WASV9)相同的值 我的配置如下IBM WebSphere Application Server(V9)如何处理HTTP基本身份验证中的领域,websphere,basic-authentication,Websphere,Basic Authentication,我想知道我是否应该在web.xml中为领域设置与服务器上的联邦存储库(WASV9)相同的值 我的配置如下 ... <login-config> <auth-method>BASIC</auth-method> <realm-name>hogehoge</realm-name> </login-config> ... 服务器配置 通过在WAS管理控制台上的“用户帐户存储库”下配置“联合存储库”,设置基于文件的用户域。
...
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>hogehoge</realm-name>
</login-config>
...
服务器配置
通过在WAS管理控制台上的“用户帐户存储库”下配置“联合存储库”,设置基于文件的用户域。
此存储库的域是“defaultWIMFileBasedRealm”。(这是默认值)
应用程序配置
xml如下所示
...
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>hogehoge</realm-name>
</login-config>
...
。。。
基本的
霍格霍吉
...
web.xml领域的值与服务器上存储库的值不匹配。
但基本身份验证工作正常,没有任何问题
所以我的问题是
WAS中的领域与web.xml中的领域无关。因此,回答您的问题: