Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-100

Interface IRootDSE does not sufficiently define return values of methods

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      I think the interface org.apache.directory.ldapstudio.browser.core.model.IRootDSE does not sufficiently define the return values for the following methods

      • getSupportedExtensions
      • getSupportedControls
      • getSupportedFeatures

      Do they return the OIDs, or a name, or a description (what language)?
      The implementation
      org.apache.directory.ldapstudio.browser.core.internal.model.RootDSE
      for instance replaces OIDs with names from a map file, if they are contained in it. It is therefore not easy to determine whether a given LDAP control etc. is supported or not. I recommend to define that the return values of type String[] always return the OIDs, and a translation into text (if necessary) is due to UI classes only.

      Attachments

        Activity

          People

            szoerner Stefan Zoerner
            szoerner Stefan Zoerner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: