Package com.netscape.cmscore.ldapconn
Class LdapConnInfo
java.lang.Object
com.netscape.cmscore.ldapconn.LdapConnInfo
class for reading ldap connection from the config store.
ldap connection info: host, port, secure connection
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLdapConnInfo
(LDAPConnectionConfig config) default constructor.LdapConnInfo
(String host, int port) LdapConnInfo
(String host, int port, boolean secure) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getHost()
int
getPort()
boolean
int
void
init
(LDAPConnectionConfig config) initializes an instance from a config store.
-
Field Details
-
PROP_HOST
- See Also:
-
PROP_PORT
- See Also:
-
PROP_SECURE
- See Also:
-
PROP_VERSION
- See Also:
-
PROP_FOLLOW_REFERRALS
- See Also:
-
PROP_HOST_DEFAULT
- See Also:
-
PROP_PORT_DEFAULT
- See Also:
-
LDAP_VERSION_2
public static final int LDAP_VERSION_2- See Also:
-
LDAP_VERSION_3
public static final int LDAP_VERSION_3- See Also:
-
-
Constructor Details
-
LdapConnInfo
default constructor. must be followed by init(ConfigStore)- Throws:
EBaseException
ELdapException
-
LdapConnInfo
-
LdapConnInfo
-
-
Method Details
-
init
initializes an instance from a config store. required parms: host, port optional parms: secure connection, authentication method and info.- Throws:
EBaseException
ELdapException
-
getHost
-
getPort
public int getPort() -
getVersion
public int getVersion() -
getSecure
public boolean getSecure() -
getFollowReferrals
public boolean getFollowReferrals()
-