com.stratelia.silverpeas.domains.ldapdriver
Class LDAPSettings
java.lang.Object
com.stratelia.silverpeas.domains.DriverSettings
com.stratelia.silverpeas.domains.ldapdriver.LDAPSettings
public class LDAPSettings
- extends DriverSettings
This class read the property file and keep it's values accessible via the get functions
- Version:
- 1.0
- Author:
- tleroi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TIME_STAMP_MSAD
public static final String TIME_STAMP_MSAD
- See Also:
- Constant Field Values
TIME_STAMP_MSAD_TT
public static final String TIME_STAMP_MSAD_TT
- See Also:
- Constant Field Values
TIME_STAMP_NDS
public static final String TIME_STAMP_NDS
- See Also:
- Constant Field Values
configuration
protected final LdapConfiguration configuration
LDAPImpl
protected String LDAPImpl
LDAPProtocolVer
protected int LDAPProtocolVer
LDAPOpAttributesUsed
protected boolean LDAPOpAttributesUsed
LDAPUserBaseDN
protected String LDAPUserBaseDN
LDAPSearchRecurs
protected boolean LDAPSearchRecurs
LDAPDefaultConstraints
protected com.novell.ldap.LDAPConstraints LDAPDefaultConstraints
LDAPDefaultSearchConstraints
protected com.novell.ldap.LDAPSearchConstraints LDAPDefaultSearchConstraints
LDAPMaxMsClientTimeLimit
protected int LDAPMaxMsClientTimeLimit
LDAPMaxSecServerTimeLimit
protected int LDAPMaxSecServerTimeLimit
LDAPMaxNbEntryReturned
protected int LDAPMaxNbEntryReturned
LDAPMaxNbReferrals
protected int LDAPMaxNbReferrals
LDAPBatchSize
protected int LDAPBatchSize
sortControlSupported
protected boolean sortControlSupported
SYNCHROautomatic
protected boolean SYNCHROautomatic
SYNCHRORecursToGroups
protected boolean SYNCHRORecursToGroups
SYNCHROthreaded
protected boolean SYNCHROthreaded
SYNCHROtimeStampVar
protected String SYNCHROtimeStampVar
SYNCHROCacheEnabled
protected boolean SYNCHROCacheEnabled
SYNCHROImportUsers
protected boolean SYNCHROImportUsers
usersClassName
protected String usersClassName
usersFilter
protected String usersFilter
usersType
protected String usersType
usersIdField
protected String usersIdField
usersLoginField
protected String usersLoginField
usersFirstNameField
protected String usersFirstNameField
usersLastNameField
protected String usersLastNameField
usersEmailField
protected String usersEmailField
usersAccountControl
protected String usersAccountControl
usersDisabledAccountFlag
protected String usersDisabledAccountFlag
groupsType
protected String groupsType
groupsClassName
protected String groupsClassName
groupsInheritProfiles
protected boolean groupsInheritProfiles
groupsFilter
protected String groupsFilter
groupsNamingDepth
protected int groupsNamingDepth
groupsIdField
protected String groupsIdField
groupsIncludeEmptyGroups
protected boolean groupsIncludeEmptyGroups
groupsSpecificGroupsBaseDN
protected String groupsSpecificGroupsBaseDN
groupsMemberField
protected String groupsMemberField
groupsNameField
protected String groupsNameField
groupsDescriptionField
protected String groupsDescriptionField
ihmImportUsers
protected boolean ihmImportUsers
ihmImportGroups
protected boolean ihmImportGroups
LDAPSettings
public LDAPSettings()
initFromProperties
public void initFromProperties(ResourceLocator rs)
- Performs initialization from a properties file. The optional properties are retreive with
getSureString.
- Parameters:
rs
- Properties resource file
isSynchroAutomatic
public boolean isSynchroAutomatic()
isSynchroRecursToGroups
public boolean isSynchroRecursToGroups()
isSynchroThreaded
public boolean isSynchroThreaded()
getTimeStampVar
public String getTimeStampVar()
isSynchroCacheEnabled
public boolean isSynchroCacheEnabled()
mustImportUsers
public boolean mustImportUsers()
newLDAPTimeStamp
public AbstractLDAPTimeStamp newLDAPTimeStamp(String theValue)
getLDAPImpl
public String getLDAPImpl()
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()
getLDAPSearchRecurs
public boolean getLDAPSearchRecurs()
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
getUsersClassName
public String getUsersClassName()
getUsersFilter
public String getUsersFilter()
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()
getUsersIdFilter
public String getUsersIdFilter(String value)
getUsersLoginFilter
public String getUsersLoginFilter(String value)
newLDAPGroup
public AbstractLDAPGroup newLDAPGroup()
throws AdminException
- Throws:
AdminException
getGroupsClassName
public String getGroupsClassName()
isGroupsInheritProfiles
public boolean isGroupsInheritProfiles()
getGroupsFilter
public String getGroupsFilter()
getGroupsNamingDepth
public int getGroupsNamingDepth()
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()
getGroupsIdFilter
public String getGroupsIdFilter(String value)
getGroupsNameFilter
public String getGroupsNameFilter(String value)
getUserAttributes
protected String[] getUserAttributes()
getGroupAttributes
protected String[] getGroupAttributes()
displayImportUsers
public boolean displayImportUsers()
displayImportGroups
public boolean displayImportGroups()
isSortControlSupported
public boolean isSortControlSupported()
Copyright © 2016 Silverpeas. All Rights Reserved.