Package com.netscape.certsrv.ldap
Interface ILdapConnInfo
-
public interface ILdapConnInfo
Class for reading ldap connection information from the config store. Ldap connection info: host name, port number,whether of not it is a secure connection.- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
PROP_HOST
static final java.lang.String PROP_HOST
- See Also:
- Constant Field Values
-
PROP_PORT
static final java.lang.String PROP_PORT
- See Also:
- Constant Field Values
-
PROP_SECURE
static final java.lang.String PROP_SECURE
- See Also:
- Constant Field Values
-
PROP_PROTOCOL
static final java.lang.String PROP_PROTOCOL
- See Also:
- Constant Field Values
-
PROP_FOLLOW_REFERRALS
static final java.lang.String PROP_FOLLOW_REFERRALS
- See Also:
- Constant Field Values
-
PROP_HOST_DEFAULT
static final java.lang.String PROP_HOST_DEFAULT
- See Also:
- Constant Field Values
-
PROP_PORT_DEFAULT
static final java.lang.String PROP_PORT_DEFAULT
- See Also:
- Constant Field Values
-
LDAP_VERSION_2
static final int LDAP_VERSION_2
- See Also:
- Constant Field Values
-
LDAP_VERSION_3
static final int LDAP_VERSION_3
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
void init(IConfigStore config) throws EBaseException, ELdapException
Initializes an instance from a config store.- Parameters:
config
- Configuration store.- Throws:
ELdapException
- Ldap related error found.EBaseException
- Other errors and errors with params included in the config store.
-
getHost
java.lang.String getHost()
Return the name of the Host.
-
getPort
int getPort()
Return the port number of the host.
-
getVersion
int getVersion()
Return the Ldap version number of the Ldap server.
-
getSecure
boolean getSecure()
Return whether or not the connection is secure.
-
getFollowReferrals
boolean getFollowReferrals()
Return whether or not the server is to follow referrals to other servers when servicing a query.
-
-