Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-170

Allow StandaloneLdapApiServices to be configured without system properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.0-M20
    • 1.0.0-M21
    • None

    Description

      Requiring configuration via system properties makes the client api near unusable in situations where you do not control startup of the application (like in a web container).

      Also, DI containers don't work well with the Singleton factory approach as you don't control the order in which your beans are constructed so you would have to be careful to initialize the factory with your hand constructed service in every place that it might be used or the default service may be initialized first forcing your custom initialization to fail.

      Finally, it just make sense to allow an LdapNetworkConnection to be configured independent of any other LdapNetworkConnection.

      Attachments

        1. DIRAPI-170.patch
          17 kB
          lucas theisen

        Activity

          People

            elecharny Emmanuel L├ęcharny
            ltheisen@mitre.org lucas theisen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: