Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-400

Connection Pooling with JNDISourceAdapter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • subject API
    • None

    Description

      The JNDISourceAdapter does not support connection pooling and does not cache connections, so each time information needs to be retrieved about a subject, a new LDAP connection is made.

      Connection pooling can be added by simply setting com.sun.jndi.ldap.connect.pool to "true" in the environment properties.

      environment.put("com.sun.jndi.ldap.connect.pool", "true");

      It is not clear yet whether the value for this property should be a part of the sources.xml file.

      Also, to support SSL and non-SSL connections, the system property com.sun.jndi.ldap.connect.pool.protocol should be set to "plain ssl".

      Attachments

        Activity

          People

            shilen.patel@at.internet2.edu Shilen Patel (duke.edu)
            shilen.patel@at.internet2.edu Shilen Patel (duke.edu)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: