Class LdapConnInfo


  • public class LdapConnInfo
    extends java.lang.Object
    class for reading ldap connection from the config store. ldap connection info: host, port, secure connection
    • Constructor Detail

      • LdapConnInfo

        public LdapConnInfo​(LDAPConnectionConfig config)
                     throws EBaseException,
                            com.netscape.certsrv.ldap.ELdapException
        default constructor. must be followed by init(IConfigStore)
        Throws:
        EBaseException
        com.netscape.certsrv.ldap.ELdapException
      • LdapConnInfo

        public LdapConnInfo​(java.lang.String host,
                            int port,
                            boolean secure)
      • LdapConnInfo

        public LdapConnInfo​(java.lang.String host,
                            int port)
    • Method Detail

      • init

        public void init​(LDAPConnectionConfig config)
                  throws EBaseException,
                         com.netscape.certsrv.ldap.ELdapException
        initializes an instance from a config store. required parms: host, port optional parms: secure connection, authentication method & info.
        Throws:
        EBaseException
        com.netscape.certsrv.ldap.ELdapException
      • getHost

        public java.lang.String getHost()
      • getPort

        public int getPort()
      • getVersion

        public int getVersion()
      • getSecure

        public boolean getSecure()
      • getFollowReferrals

        public boolean getFollowReferrals()