谁能告诉我为什么以下段落不正确:
If your deployment descriptor correctly declares an authentication type of BASIC, the container automatically requests a user name and password whenever a user starts a new session.
最佳答案
因为当用户尝试访问 protected 资源(如描述符中定义)时,容器只会请求(如“向浏览器发送身份验证质询”)用户名/密码;不是在创建用户 session 时。
关于java - DD段落中的认证类型混淆,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1349170/