Make LDAP connection pool settings configurable

Description

LDAP connection pooling can now be configured through portal(-ext).properties. The following are set by default:

ldap.connection.com.sun.jndi.ldap.connect.pool=true
ldap.connection.com.sun.jndi.ldap.connect.pool.maxsize=50
ldap.connection.com.sun.jndi.ldap.connect.pool.timeout=10000

Activity

Show:

Kiyoshi Lee January 24, 2012 at 2:24 PM

PASSED Manual Testing using the following steps:

  1. Download and install Apache Directory Server 1.0.2

  2. Download and install Jxplorer 3.2

  3. Configure Jxplorer

    • Host: localhost

    • Port: 10389

    • Protocol: LDAP v3

    • Level: User + Password

    • UserDN: uid=admin,ou=System

    • Password: Test

  4. In Liferay, go to Control Panel > Portal Settings > Authentication > LDAP

  5. Flag Enabled, Import Enabled, and Export Enabled

  6. Click Save

  7. Click LDAP tab

  8. ClIck Add under LDAP Servers

  9. Click Test Connection

    • Assert Liferay is able to connect to the LDAP server

Fixed on:

Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 4fe7c2f7a51db3919ec639e6b53a67f56be46c0d.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 23e8e46a9e3221ae8e14609bacdb5b0da0d61fb0.

Completed

Details

Assignee

Reporter

Branch Version/s

6.1.x

Backported to Branch

Committed

Git Pull Request

Components

Affects versions

Priority

Zendesk Support

Created January 6, 2012 at 4:52 PM
Updated June 26, 2023 at 6:34 AM
Resolved March 12, 2012 at 3:00 PM
Loading...