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

Connection Pooling with JNDISourceAdapter

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: subject API
    • Labels:
      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

            • Assignee:
              shilen Shilen Patel
              Reporter:
              shilen Shilen Patel
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: