Configuring Multiple LDAP Servers for Authentication Only (OsUser)

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

There are multiple LDAP directories in use that Confluence will need to use for user authentication.

 

tip/resting Created with Sketch.

This page relates to a deprecated library, OSUser. For current versions of Confluence, see Configuring multiple LDAP repositories.

The osuser.xml file stores the connection strings for LDAP servers you are trying to connect to. You are able to define multiple {{LDAPCredentialsProvider}} in the osuser.xml which allows for connections to be made to separate LDAP servers hosting different user information. This allows you to Authenticate with different LDAP users from different server onto Confluence.


ソリューション


This is achievable by defining more than one LDAPCredentialsProvider in the osuser.xml file as shown below:

<provider class="com.opensymphony.user.provider.ldap.LDAPCredentialsProvider">
 <property name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</property>
 <property name="java.naming.provider.url">Host1</property>
..............
..............
</provider>

<provider class="com.opensymphony.user.provider.ldap.LDAPCredentialsProvider">
 <property name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</property>
 <property name="java.naming.provider.url">Host2</property>
..............
..............
</provider>

最終更新日: 2015 年 10 月 7 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.