Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M20
    • Fix Version/s: 1.0.0-M21
    • Labels:
      None

      Description

      Each LdapConnection has to loadSchema(...) to become schema aware. While testing I have found this to take about 2 seconds. It would be great if schema loading could be done once while an application is initializing and then reused on subsequent connections. Perhaps additional SchemaManager API could be added to classes like LdapConnectionConfig, PoolableLdapConnectionFactory, and LdapConnectionPool?

      Mailing List reference: https://mail-archives.apache.org/mod_mbox/directory-api/201308.mbox/%3CCABzFU-eOfmwiFpR1w0Fd-JhNFBVLO0NkHKa5w61ReFBEq%3DWkaw%40mail.gmail.com%3E

        Activity

        Hide
        elecharny Emmanuel Lecharny added a comment -

        We do need a LdapConnection.setSchemaManager( SchemaManager ) method. Having to wait 2 seconds to crate a schemaManager in the loadSchema() method is just a show stopper.

        Show
        elecharny Emmanuel Lecharny added a comment - We do need a LdapConnection.setSchemaManager( SchemaManager ) method. Having to wait 2 seconds to crate a schemaManager in the loadSchema() method is just a show stopper.
        Hide
        akiran Kiran Ayyagari added a comment -

        Fixed in DIRAPI-159.

        Show
        akiran Kiran Ayyagari added a comment - Fixed in DIRAPI-159 .
        Hide
        elecharny Emmanuel Lecharny added a comment -

        Closing the resolved issues.

        Show
        elecharny Emmanuel Lecharny added a comment - Closing the resolved issues.

          People

          • Assignee:
            elecharny Emmanuel Lecharny
            Reporter:
            gturner Gerald Turner
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development