Java 我需要申请Alfresco Community 4.0的单点登录,有人能给我一些指导或步骤吗?
我的windows server 2003上安装了Alfresco community v4.0。我在alfresco中配置了LDAP,现在我需要配置单点登录。有谁能给我一些关于这方面的详细信息,这对我很有帮助吗?这取决于您的系统配置(LDAP、AD、kerberos等外部系统),但总体而言,应该是这样的: 转到Java 我需要申请Alfresco Community 4.0的单点登录,有人能给我一些指导或步骤吗?,java,alfresco,Java,Alfresco,我的windows server 2003上安装了Alfresco community v4.0。我在alfresco中配置了LDAP,现在我需要配置单点登录。有谁能给我一些关于这方面的详细信息,这对我很有帮助吗?这取决于您的系统配置(LDAP、AD、kerberos等外部系统),但总体而言,应该是这样的: 转到tomcat/shared/classes/alfresco/extension目录中的alfresco.global.properties文件(如果没有这样的文件,只需创建它即可)。
tomcat/shared/classes/alfresco/extension
目录中的alfresco.global.properties
文件(如果没有这样的文件,只需创建它即可)。
然后添加以下行(这里取决于LDAP如何将userNameFormat传递给应用程序):
几点注意:
- userNameFormat=此处,这取决于您的用户是使用其active directory用户名还是使用扩展名@yourdomain登录(例如:%s=johnDoe或johnDoe@yourdomain.local)
- url=您应该将Active Directory服务器(IP或解析的主机名)和使用的端口(通常为389)放在那里
您计划使用什么单点登录系统?该系统中有多少已经安装和配置?目前我在Alfresco中配置了alfrescoNtlm和ldap。我对单点登录不太了解。您能提供一些有关sso的详细信息吗?
ntlm.authentication.sso.enabled=true
authentication.chain=passthru1:passthru,alfrescoNtlm1:alfrescoNtlm,ldap1:ldap-ad
passthru.authentication.useLocalServer=false
passthru.authentication.domain=yourdomain.local
passthru.authentication.servers=domainControllerResolvedHostname
ldap.authentication.userNameFormat=%s
ldap.authentication.java.naming.provider.url=ldap://yourdomain:port
ldap.authentication.active=false
ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.synchronization.groupSearchBase=ou\=users,ou=yourGroup,dc=mainGroup,dc=local
ldap.synchronization.userSearchBase=ou\=users,ou=yourGroup,dc=mainGroup,dc=local
ldap.synchronization.userIdAttributeName=sAMAccountName