 |
 |
|
 |
 |
| LDAP users manager available |
 |
First release of ldap user manager is now available. This allows you to use an ldap server to perform user authentification. Application configuration and server block need to be adjusted. |
 |
Move the ldap jar in your merlin/repository/openim/jar folder.
Ajust the config.xml file. Here is an example of LDAP configuration (conf/config.xml file)
<target path="/openim/users-manager/AccountRepositoryHolder"> <categories priority="DEBUG"/> <!-- users-manager-ldap --> <configuration> <initial-context-factory>com.sun.jndi.ldap.LdapCtxFactory</initial-context-factory> <security-authentication>simple</security-authentication> <provider-url>ldap://localhost</provider-url> <security-principal>cn=Manager,o=stooges</security-principal> <security-credentials>secret</security-credentials>
<ldap-lookup-directory>ou=MemberGroupA, o=stooges</ldap-lookup-directory> <ldap-attribute-search>uid</ldap-attribute-search> <ldap-password-attribute>userPassword</ldap-password-attribute> </configuration>
</target>
You have to edit the block.xml file to use the ldap user manager. Replace: <include name="users-manager" id="openim:openim-users-manager-impl" version="1.1"/>
By: <include name="users-manager" id="openim:openim-users-manager-ldap-impl" version="1.1"/>
That's all.
|
 |
|
|
 |
|
 |
 |
|
 |
|
|