public class LdapServiceImpl extends java.lang.Object implements LdapService
LdapConstants.Auth, LdapConstants.Encryption, LdapConstants.Scope
LDAP_CONNECT_TIMEOUT, LDAP_READ_TIMEOUT
Constructor and Description |
---|
LdapServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ContactSourceService |
createContactSource(LdapDirectory ldapDir)
Creates a contact source corresponding to the given ldap directory.
|
static CertificateService |
getCertificateService()
Gets the CertificateService to be used by the functionality of
the addrbook plug-in.
|
static org.jitsi.service.configuration.ConfigurationService |
getConfigService()
Returns a reference to a ConfigurationService implementation currently
registered in the bundle context or null if no such implementation was
found.
|
static CredentialsStorageService |
getCredentialsService()
Returns a reference to a CredentialsStorageConfigurationService
implementation currently registered in the bundle context or null if no
such implementation was found.
|
LdapFactory |
getFactory()
Required by interface LdapService.
|
LdapDirectorySet |
getServerSet()
Returns all the LDAP directories
|
void |
removeContactSource(LdapDirectory ldapDir)
Removes the contact source corresponding to the given ldap directory.
|
void |
start(org.osgi.framework.BundleContext bc)
Starts the service.
|
void |
stop(org.osgi.framework.BundleContext bc)
Stops the service.
|
public void start(org.osgi.framework.BundleContext bc)
bc
- BundleContextpublic void stop(org.osgi.framework.BundleContext bc)
bc
- BundleContextpublic static org.jitsi.service.configuration.ConfigurationService getConfigService()
public static CredentialsStorageService getCredentialsService()
public static CertificateService getCertificateService()
public LdapDirectorySet getServerSet()
getServerSet
in interface LdapService
net.java.sip.communicator.service.ldap
public LdapFactory getFactory()
getFactory
in interface LdapService
net.java.sip.communicator.service.ldap
public ContactSourceService createContactSource(LdapDirectory ldapDir)
createContactSource
in interface LdapService
ldapDir
- the ldap directory, for which we're creating the contact
sourcepublic void removeContactSource(LdapDirectory ldapDir)
removeContactSource
in interface LdapService
ldapDir
- the ldap directory, which contact source we'd like to
remove
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.