Class DirectoryServerVendor


  • public class DirectoryServerVendor
    extends Object
    This singleton attempts to query vendor information of a Directory Server.
    • Field Detail

      • OPENDS

        public static String OPENDS
      • OPENDJ

        public static String OPENDJ
      • ODSEE

        public static String ODSEE
    • Method Detail

      • getInstance

        public static DirectoryServerVendor getInstance()
        Returns an instance of this class.
        Returns:
        an instance of this class.
      • query

        public DirectoryServerVendor.Vendor query​(org.forgerock.opendj.ldap.Connection conn)
                                           throws org.forgerock.opendj.ldap.LdapException,
                                                  org.forgerock.opendj.ldap.SearchResultReferenceIOException
        Returns the vendor of Directory Server.
        Parameters:
        conn - LDAP connection to the server.
        Returns:
        the vendor of Directory Server.
        Throws:
        org.forgerock.opendj.ldap.LdapException - if unable to get the vendor information.
        org.forgerock.opendj.ldap.SearchResultReferenceIOException - if unable to get the vendor information