Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.