Class LDAPSettings
- java.lang.Object
-
- org.silverpeas.core.admin.domain.driver.ldapdriver.LDAPSettings
-
- All Implemented Interfaces:
DriverSettings
public class LDAPSettings extends Object implements DriverSettings
This class read the property file and keep it's values accessible via the get functions- Version:
- 1.0
- Author:
- tleroi
-
-
Constructor Summary
Constructors Constructor Description LDAPSettings()
-
Method Summary
-
-
-
Method Detail
-
initFromProperties
public void initFromProperties(org.silverpeas.kernel.bundle.SettingBundle rs)
Performs initialization from a properties file. The optional properties are retrieved with getSureString.- Specified by:
initFromProperties
in interfaceDriverSettings
- Parameters:
rs
- Properties resource file
-
isSynchroAutomatic
public boolean isSynchroAutomatic()
-
isSynchroRecursToGroups
public boolean isSynchroRecursToGroups()
-
isSynchroThreaded
public boolean isSynchroThreaded()
-
isSynchroCacheEnabled
public boolean isSynchroCacheEnabled()
-
mustImportUsers
public boolean mustImportUsers()
-
getLDAPHost
public String getLDAPHost()
-
getLDAPPort
public int getLDAPPort()
-
getLDAPProtocolVer
public int getLDAPProtocolVer()
-
isLDAPOpAttributesUsed
public boolean isLDAPOpAttributesUsed()
-
getLDAPAccessLoginDN
public String getLDAPAccessLoginDN()
-
getLDAPAccessPasswd
public byte[] getLDAPAccessPasswd()
-
getLDAPUserBaseDN
public String getLDAPUserBaseDN()
-
isLDAPSecured
public boolean isLDAPSecured()
-
getScope
public int getScope()
-
getSearchConstraints
public com.novell.ldap.LDAPSearchConstraints getSearchConstraints(boolean allocateNew)
-
getConstraints
public com.novell.ldap.LDAPConstraints getConstraints(boolean allocateNew)
-
newLDAPUser
public LDAPUser newLDAPUser() throws AdminException
- Throws:
AdminException
-
getUsersFullFilter
public String getUsersFullFilter()
-
getUsersIdField
public String getUsersIdField()
-
getUsersLoginField
public String getUsersLoginField()
-
getUsersFirstNameField
public String getUsersFirstNameField()
-
getUsersLastNameField
public String getUsersLastNameField()
-
getUsersEmailField
public String getUsersEmailField()
-
getUsersAccountControl
public String getUsersAccountControl()
-
getUsersDisabledAccountFlag
public String getUsersDisabledAccountFlag()
-
getUsersManualFilter
public String getUsersManualFilter(Collection<String> values)
-
getUsersIdFilter
public String getUsersIdFilter(Collection<String> values)
-
newLDAPGroup
public AbstractLDAPGroup newLDAPGroup() throws AdminException
- Throws:
AdminException
-
isGroupsInheritProfiles
public boolean isGroupsInheritProfiles()
-
getGroupsFullFilter
public String getGroupsFullFilter()
-
getGroupsMemberField
public String getGroupsMemberField()
-
getGroupsSpecificGroupsBaseDN
public String getGroupsSpecificGroupsBaseDN()
-
getGroupsIdField
public String getGroupsIdField()
-
getGroupsIncludeEmptyGroups
public boolean getGroupsIncludeEmptyGroups()
-
getGroupsNameField
public String getGroupsNameField()
-
getGroupsDescriptionField
public String getGroupsDescriptionField()
-
getUserAttributes
protected String[] getUserAttributes()
-
getGroupAttributes
protected String[] getGroupAttributes()
-
isSortControlSupported
public boolean isSortControlSupported()
-
-