|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LdapDirectorySettings
A wrapper around the settings needed to create an LdapDirectory This object is mandatory to create an LdapServer. It's also the retrieved object when calling getSettings() from LdapServer. It also be used to retrieve, remove or store settings in the persistent configuration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.java.sip.communicator.service.ldap.LdapConstants |
|---|
LdapConstants.Auth, LdapConstants.Encryption, LdapConstants.Scope |
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.ldap.LdapConstants |
|---|
LDAP_CONNECT_TIMEOUT, LDAP_READ_TIMEOUT |
| Method Summary | |
|---|---|
LdapDirectorySettings |
clone()
Clone this object. |
boolean |
equals(LdapDirectorySettings other)
Checks if both LdapDirectorySettings instance have the same content |
LdapConstants.Auth |
getAuth()
simple getter for auth |
String |
getBaseDN()
simple getter for baseDN |
String |
getBindDN()
simple getter for bindDN |
LdapConstants.Encryption |
getEncryption()
simple getter for encryption |
String |
getGlobalPhonePrefix()
Returns the global prefix to be used when calling phones from this ldap source. |
List<String> |
getHomePhoneSearchFields()
Returns home phone fields that we will lookup. |
String |
getHostname()
simple getter for hostname |
List<String> |
getMailSearchFields()
Returns mail fields that we will lookup. |
String |
getMailSuffix()
Returns mail suffix. |
List<String> |
getMobilePhoneSearchFields()
Returns mobile phone fields that we will lookup. |
String |
getName()
simple getter for name |
String |
getPassword()
simple getter for password |
int |
getPort()
simple getter for port |
LdapConstants.Scope |
getScope()
Returns the search scope: one level under the base distinguished name or all the subtree. |
List<String> |
getWorkPhoneSearchFields()
Returns work phone fields that we will lookup. |
int |
hashCode()
Returns the hash code for this instance. |
boolean |
isEnabled()
simple getter for enabled |
void |
persistentLoad(String name)
Loads the settings with the given name from the config files into the LdapDirectorySetting. |
void |
persistentRemove()
Removes settings with this name from the config files |
void |
persistentSave()
Saves these settings through the configuration service |
void |
setAuth(LdapConstants.Auth auth)
simple setter for auth |
void |
setBaseDN(String baseDN)
simple setter for baseDN |
void |
setBindDN(String bindDN)
simple setter for bindDN |
void |
setEnabled(boolean enabled)
simple setter for enabled |
void |
setEncryption(LdapConstants.Encryption encryption)
simple setter for encryption |
void |
setGlobalPhonePrefix(String prefix)
Sets the global prefix to be used when calling phones from this ldap source. |
void |
setHomePhoneSearchFields(List<String> list)
Set home phone fields that we will lookup. |
void |
setHostname(String hostname)
simple setter for hostname |
void |
setMailSearchFields(List<String> list)
Set mail fields that we will lookup. |
void |
setMailSuffix(String suffix)
Set mail suffix. |
void |
setMobilePhoneSearchFields(List<String> list)
Set mobile phone fields that we will lookup. |
void |
setName(String name)
simple setter for name |
void |
setPassword(String password)
simple setter for password |
void |
setPort(int port)
simple setter for port |
void |
setScope(LdapConstants.Scope scope)
Sets the search scope: one level under the base distinguished name or all the subtree. |
void |
setWorkPhoneSearchFields(List<String> list)
Set work phone fields that we will lookup. |
| Method Detail |
|---|
String getName()
void setName(String name)
name - the name propertyboolean isEnabled()
void setEnabled(boolean enabled)
enabled - whether the server is marked as enabledString getHostname()
void setHostname(String hostname)
hostname - the hostname propertyLdapConstants.Encryption getEncryption()
LdapConstants.Encryptionvoid setEncryption(LdapConstants.Encryption encryption)
encryption - the encryption propertyLdapConstants.Encryptionint getPort()
void setPort(int port)
port - the port propertyLdapConstants.Auth getAuth()
LdapConstants.Authvoid setAuth(LdapConstants.Auth auth)
auth - the auth propertyLdapConstants.AuthString getBindDN()
void setBindDN(String bindDN)
bindDN - the bindDN propertyString getPassword()
void setPassword(String password)
password - the password propertyString getBaseDN()
void setBaseDN(String baseDN)
baseDN - the baseDN propertyLdapConstants.Scope getScope()
LdapConstants.Scopevoid setScope(LdapConstants.Scope scope)
scope - the new search scopeLdapConstants.ScopeList<String> getMailSearchFields()
void setMailSearchFields(List<String> list)
list - of mail fields that we will lookupString getMailSuffix()
void setMailSuffix(String suffix)
suffix - mail suffixList<String> getWorkPhoneSearchFields()
void setWorkPhoneSearchFields(List<String> list)
list - of work phone fields that we will lookupList<String> getMobilePhoneSearchFields()
void setMobilePhoneSearchFields(List<String> list)
list - of mobile phone fields that we will lookupList<String> getHomePhoneSearchFields()
void setHomePhoneSearchFields(List<String> list)
list - of home phone fields that we will lookupString getGlobalPhonePrefix()
void setGlobalPhonePrefix(String prefix)
prefix - the global prefix to be used when calling phones from this ldap
sourcevoid persistentSave()
persistentSave()void persistentLoad(String name)
name - name of the settingspersistentLoad(java.lang.String)void persistentRemove()
boolean equals(LdapDirectorySettings other)
other - object to compare
Object.equals(java.lang.Object)int hashCode()
hashCode in class ObjectObject.hashCode()LdapDirectorySettings clone()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||