Package com.netscape.certsrv.ldap
Interface ILdapConnInfo
-
- All Known Implementing Classes:
LdapConnInfo
public interface ILdapConnInfoClass 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 intLDAP_VERSION_2static intLDAP_VERSION_3static java.lang.StringPROP_FOLLOW_REFERRALSstatic java.lang.StringPROP_HOSTstatic java.lang.StringPROP_HOST_DEFAULTstatic java.lang.StringPROP_PORTstatic java.lang.StringPROP_PORT_DEFAULTstatic java.lang.StringPROP_PROTOCOLstatic java.lang.StringPROP_SECURE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetFollowReferrals()Return whether or not the server is to follow referrals to other servers when servicing a query.java.lang.StringgetHost()Return the name of the Host.intgetPort()Return the port number of the host.booleangetSecure()Return whether or not the connection is secure.intgetVersion()Return the Ldap version number of the Ldap server.voidinit(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.
-
-