public interface LdapDirectorySettings extends LdapConstants, java.lang.Cloneable
LdapConstants.Auth, LdapConstants.Encryption, LdapConstants.Scope
LDAP_CONNECT_TIMEOUT, LDAP_READ_TIMEOUT
Modifier and Type | Method and Description |
---|---|
LdapDirectorySettings |
clone()
Clone this object.
|
LdapConstants.Auth |
getAuth()
simple getter for auth
|
java.lang.String |
getBaseDN()
simple getter for baseDN
|
java.lang.String |
getBindDN()
simple getter for bindDN
|
java.lang.String |
getCustomQuery()
Gets the user-defined LDAP query.
|
LdapConstants.Encryption |
getEncryption()
simple getter for encryption
|
java.lang.String |
getGlobalPhonePrefix()
Returns the global prefix to be used when calling phones from this ldap
source.
|
java.util.List<java.lang.String> |
getHomePhoneSearchFields()
Returns home phone fields that we will lookup.
|
java.lang.String |
getHostname()
simple getter for hostname
|
java.util.List<java.lang.String> |
getMailSearchFields()
Returns mail fields that we will lookup.
|
java.lang.String |
getMailSuffix()
Returns mail suffix.
|
java.util.List<java.lang.String> |
getMobilePhoneSearchFields()
Returns mobile phone fields that we will lookup.
|
java.lang.String |
getName()
simple getter for name
|
java.lang.String |
getPassword()
simple getter for password
|
int |
getPort()
simple getter for port
|
java.lang.String |
getQueryMode()
Gets the mode how the LDAP query is constructed.
|
LdapConstants.Scope |
getScope()
Returns the search scope: one level under the base distinguished name
or all the subtree.
|
java.util.List<java.lang.String> |
getWorkPhoneSearchFields()
Returns work phone fields that we will lookup.
|
boolean |
isEnabled()
simple getter for enabled
|
boolean |
isMangleQuery()
Gets whether the query term gets mangled with wildcards.
|
boolean |
isPhotoInline()
Gets whether photos are retrieved along with the other attributes.
|
void |
persistentLoad(java.lang.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(java.lang.String baseDN)
simple setter for baseDN
|
void |
setBindDN(java.lang.String bindDN)
simple setter for bindDN
|
void |
setCustomQuery(java.lang.String query)
Sets the user-defined LDAP query.
|
void |
setEnabled(boolean enabled)
simple setter for enabled
|
void |
setEncryption(LdapConstants.Encryption encryption)
simple setter for encryption
|
void |
setGlobalPhonePrefix(java.lang.String prefix)
Sets the global prefix to be used when calling phones from this ldap
source.
|
void |
setHomePhoneSearchFields(java.util.List<java.lang.String> list)
Set home phone fields that we will lookup.
|
void |
setHostname(java.lang.String hostname)
simple setter for hostname
|
void |
setMailSearchFields(java.util.List<java.lang.String> list)
Set mail fields that we will lookup.
|
void |
setMailSuffix(java.lang.String suffix)
Set mail suffix.
|
void |
setMangleQuery(boolean mangle)
Sets whether the query term gets mangled with wildcards.
|
void |
setMobilePhoneSearchFields(java.util.List<java.lang.String> list)
Set mobile phone fields that we will lookup.
|
void |
setName(java.lang.String name)
simple setter for name
|
void |
setPassword(java.lang.String password)
simple setter for password
|
void |
setPhotoInline(boolean inline)
Sets whether photos are retrieved along with the other attributes.
|
void |
setPort(int port)
simple setter for port
|
void |
setQueryMode(java.lang.String queryMode)
Sets the mode how the LDAP query is constructed.
|
void |
setScope(LdapConstants.Scope scope)
Sets the search scope: one level under the base distinguished name
or all the subtree.
|
void |
setWorkPhoneSearchFields(java.util.List<java.lang.String> list)
Set work phone fields that we will lookup.
|
java.lang.String getName()
void setName(java.lang.String name)
name
- the name propertyboolean isEnabled()
void setEnabled(boolean enabled)
enabled
- whether the server is marked as enabledjava.lang.String getHostname()
void setHostname(java.lang.String hostname)
hostname
- the hostname propertyLdapConstants.Encryption getEncryption()
LdapConstants.Encryption
void setEncryption(LdapConstants.Encryption encryption)
encryption
- the encryption propertyLdapConstants.Encryption
int getPort()
void setPort(int port)
port
- the port propertyLdapConstants.Auth getAuth()
LdapConstants.Auth
void setAuth(LdapConstants.Auth auth)
auth
- the auth propertyLdapConstants.Auth
java.lang.String getBindDN()
void setBindDN(java.lang.String bindDN)
bindDN
- the bindDN propertyjava.lang.String getPassword()
void setPassword(java.lang.String password)
password
- the password propertyjava.lang.String getBaseDN()
void setBaseDN(java.lang.String baseDN)
baseDN
- the baseDN propertyLdapConstants.Scope getScope()
LdapConstants.Scope
void setScope(LdapConstants.Scope scope)
scope
- the new search scopeLdapConstants.Scope
java.util.List<java.lang.String> getMailSearchFields()
void setMailSearchFields(java.util.List<java.lang.String> list)
list
- of mail fields that we will lookupjava.lang.String getMailSuffix()
void setMailSuffix(java.lang.String suffix)
suffix
- mail suffixjava.util.List<java.lang.String> getWorkPhoneSearchFields()
void setWorkPhoneSearchFields(java.util.List<java.lang.String> list)
list
- of work phone fields that we will lookupjava.util.List<java.lang.String> getMobilePhoneSearchFields()
void setMobilePhoneSearchFields(java.util.List<java.lang.String> list)
list
- of mobile phone fields that we will lookupjava.util.List<java.lang.String> getHomePhoneSearchFields()
void setHomePhoneSearchFields(java.util.List<java.lang.String> list)
list
- of home phone fields that we will lookupjava.lang.String getGlobalPhonePrefix()
void setGlobalPhonePrefix(java.lang.String prefix)
prefix
- the global prefix to be used when calling phones from this ldap
sourcejava.lang.String getQueryMode()
void setQueryMode(java.lang.String queryMode)
queryMode
- the mode how the LDAP query is constructed.java.lang.String getCustomQuery()
void setCustomQuery(java.lang.String query)
query
- the user-defined LDAP query.boolean isMangleQuery()
void setMangleQuery(boolean mangle)
mangle
- whether the query term gets mangled with wildcards.boolean isPhotoInline()
void setPhotoInline(boolean inline)
inline
- whether photos are retrieved along with the other
attributes.void persistentSave()
persistentSave()
void persistentLoad(java.lang.String name)
name
- name of the settingspersistentLoad(java.lang.String)
void persistentRemove()
LdapDirectorySettings clone()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.