如何配置单一登陆(SSO)中的DNS名称

来源:互联网 发布:两性聊天软件 编辑:程序博客网 时间:2024/06/04 20:04

要配置单一登录(SSO),什么样的 DNS 名称是合法的

环境

产品: Lotus Domino Server
平台: 与平台无关
软件版本: 7.0, 6.5, 6.0, 5.0

问题

当在一台 Domino 服务器上配置单一登录时,你把 Web SSO 配置文档中的 DNS 网络域设为“.com”,然后创建 Domino SSO 密钥。当你启动 HTTP 服务时,SSO 能正常启动。但当使用 Web 浏览器访问服务器时,浏览器一直停留在登录页面。你无法登录到服务器上。要配置“单一登录”,什么样的 DNS 名称是合法的。

解答

问题是由于非法的 DNS 网络域名称造成的。网络域名称必须包含两个以上的点,在 DNS 网络域里的“.com”不符合这个要求,Domino 是按照 Netscape 定义的 cookie 规范来工作的。

要解决这个问题,在网络域里输入至少包含两个点以上的网络域名,如:“lotus.com”

支持信息:
当你保存 Web SSO 配置文档时,Domino 会自动在网络域名前面加一个点。因此,如果你忘了在网络域名前面加点,Domino 的域校验公式会自动替你补上。例如:如果你输入的是“lotus.com”,结果就会是“.lotus.com”。

以下内容摘自 Netscape 的 cookei 规范:
(参见: http://wp.netscape.com/newsref/std/cookie_spec.html)

domain=DOMAIN_NAME
Only hosts within the specified domain can set a cookie for a domain and domains must have at least two (2) or three (3) periods in them to prevent domains of the form: ".com", ".edu", and "va.us". Any domain that fails within one of the seven special top level domains listed below only require two periods. Any other domain requires at least three. The seven special top level domains are: "COM", "EDU", "NET", "ORG", "GOV", "MIL", and "INT"."

原创粉丝点击