public interface ILdapConnInfo
Modifier and Type | Field and Description |
---|---|
static int |
LDAP_VERSION_2 |
static int |
LDAP_VERSION_3 |
static java.lang.String |
PROP_FOLLOW_REFERRALS |
static java.lang.String |
PROP_HOST |
static java.lang.String |
PROP_HOST_DEFAULT |
static java.lang.String |
PROP_PORT |
static java.lang.String |
PROP_PORT_DEFAULT |
static java.lang.String |
PROP_PROTOCOL |
static java.lang.String |
PROP_SECURE |
Modifier and Type | Method and Description |
---|---|
boolean |
getFollowReferrals()
Return whether or not the server is to follow referrals
to other servers when servicing a query.
|
java.lang.String |
getHost()
Return the name of the Host.
|
int |
getPort()
Return the port number of the host.
|
boolean |
getSecure()
Return whether or not the connection is secure.
|
int |
getVersion()
Return the Ldap version number of the Ldap server.
|
void |
init(IConfigStore config)
Initializes an instance from a config store.
|
static final java.lang.String PROP_HOST
static final java.lang.String PROP_PORT
static final java.lang.String PROP_SECURE
static final java.lang.String PROP_PROTOCOL
static final java.lang.String PROP_FOLLOW_REFERRALS
static final java.lang.String PROP_HOST_DEFAULT
static final java.lang.String PROP_PORT_DEFAULT
static final int LDAP_VERSION_2
static final int LDAP_VERSION_3
void init(IConfigStore config) throws EBaseException, ELdapException
config
- Configuration store.ELdapException
- Ldap related error found.EBaseException
- Other errors and errors with params included in the config store.java.lang.String getHost()
int getPort()
int getVersion()
boolean getSecure()
boolean getFollowReferrals()