[ https://issues.apache.org/jira/browse/DIRSTUDIO-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493459 ] Stefan Zoerner commented on DIRSTUDIO-93: ----------------------------------------- Another option would be to create an interface with parameter type javax.naming.directory.Attributes representing the attributes of the Root DSE instead of IRootDSE, because with this the classes would easily used in an arbitrary context, and JUnit test would be easier to create as well. > Add server detection for ApacheDS and TivoliDS on RootDSE property page > ----------------------------------------------------------------------- > > Key: DIRSTUDIO-93 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-93 > Project: Directory LDAP Studio > Issue Type: Improvement > Components: ldapstudio-browser > Affects Versions: 0.7.0 > Reporter: Stefan Zoerner > Priority: Minor > Fix For: 0.9.0 > > Attachments: patch.txt > > > Currently, the property page for the RootDSE does not correctly detects ApacheDS. I have added a conditional for this, and for Tivoli Directory Server (IBM) as well.The method createContents gets longer and longer; thus I have created some detection methods. Feel free to consider the following patch. > From my point of view, a cleaner and more extensible solution would be to an interface for server detection, which solely operates on the RootDSE attributes. Implementations would be easier to test as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.