【发布时间】:2016-01-14 06:50:33
【问题描述】:
我正在 Windows 7 上配置 spengo/tomcat/sso/。
我不明白什么是领域以及它的配置位置!
通过阅读以下指南:
- https://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html
- https://dzone.com/articles/do-not-publish-configuring-tomcat-single-sign-on-w
我理解领域是用户/密码的数据库,该数据库数据可以从多个地方获取,数据库、活动目录、users.xml 文件等。
在配置 krb5.ini 和 jaas.config 时,我需要提供一个领域名称,我在哪里可以找到这个领域名称,在我们的 Active Directory 机器上 - 没有系统管理员创建过领域对象,那么我怎么知道是什么要在配置中输入的领域名称?
Spengo w/ SSO 需要 JAASRealm,所以我需要设置
Realm className="org.apache.catalina.realm.JNDIRealm server.xml 中?
JAASRealm 是否是使用 JNDI 以与 AD 一起使用的包装器?
谢谢
【问题讨论】:
标签: apache tomcat ldap kerberos jaas