public interface ConfigurationLDAP
| Modifier and Type | Method and Description |
|---|---|
String |
autoImportLDAPUser(String userName,
String password)
Auto-imports a LDAP user.
|
boolean |
checkSynchronization()
Deprecated.
This method is not effective since V7.0.
|
boolean |
confirmFilter(String userName,
String filter)
Checks whether the user confirms the LDAP search filter or not.
|
boolean |
deleteSynSchedule()
Deletes the LDAP synchronization schedule task.
|
boolean |
disableSynSchedule()
Disables the LDAP synchronization schedule.
|
boolean |
enableSynSchedule()
Enables the LDAP synchronization schedule.
|
boolean |
exportSynResultToXMLFile(String outputDir,
SynchronizationResult result)
Exports the LDAP synchronization result object to an XML file.
|
Vector |
getEncryptedUsers()
Deprecated.
This method is not effective since V7.0.
|
SynchronizationResult |
getLastLDAPSynchronizeScheduleResult()
Gets the last LDAP synchronization schedule task's result object.
|
Vector |
getLDAPGroups()
Gets the LDAP groups setting according to LDAP configuration.
|
Enumeration |
getLdapSynchronization()
Deprecated.
This method is not effective since V7.0.
|
Vector |
getLDAPUsers()
Gets the LDAP users setting according to LDAP configuration.
|
Properties |
getSynchronizeSchedule()
Gets the LDAP synchronization schedule's properties.
|
Enumeration |
getUserNames()
Gets LDAP user names.
|
boolean |
importAllLDAPUsersAndGroups(boolean isOverWrite)
Imports all the LDAP groups and users from LDAP server.
|
boolean |
importLDAPGroups(boolean isOverWrite)
Imports the LDAP groups to local from LDAP Server(import to role or group).
|
boolean |
importLDAPGroupsAndUsers()
Deprecated.
This method is not effective since V7.0.
|
boolean |
importLDAPRoles(boolean isOverWrite)
Deprecated.
This method is not effective since V7.1.
It has been replaced by
|
boolean |
importLDAPUsers(boolean isOverWrite)
Imports the LDAP user to local from LDAP server.
|
boolean |
importSpecifyLDAPGroups(Vector specifyRolesName,
boolean isOverWrite)
Imports some LDAP groups that specified by customers to local from LDAP Server(import to role or group).
|
boolean |
importSpecifyLDAPRoles(Vector specifyRolesName,
boolean isOverWrite)
Deprecated.
This method is not effective since V7.1.
It has been replaced by
|
boolean |
importSpecifyLDAPUsers(Vector specifyUsersName,
boolean isOverWrite)
Imports some LDAP users that are specified by customers to local from LDAP Server.
|
boolean |
isConfromFilter(String userName,
String filter)
Deprecated.
This method is not effective since V8.0.
|
boolean |
isLDAPScheduleEnable()
Checks whether the LDAP Synchronization schedule is enabled or not.
|
boolean |
isValidLDAPUser(String userName,
String password)
Checks whether a user is a valid LDAP user or not.
|
boolean |
isValidLDAPUserByDN(String userName,
String userDN,
String password)
Checks whether a user is a valid LDAP user or not.
|
String |
listExistedGroupDescriptions(String groupName)
Deprecated.
This method is not effective since V6.
|
Vector |
listExistedGroups()
Returns all the groups in LDAP.
|
Vector |
listExistedGroupsName()
Deprecated.
This method is not effective since V6.
|
String |
listExistedUserFullName(String name)
Deprecated.
This method is not effective since V6.
|
Vector |
listExistedUserNames()
Deprecated.
This method is not effective since V6.
|
Vector |
listExistedUsers()
Returns all the user names in LDAP.
|
void |
setEncryptedUserAuthInfo(String name,
String pw)
Deprecated.
This method is not effective since V6.
|
boolean |
submitSynchronizeSchedule(Properties pro,
String submitter)
Submits a new LDAP synchronization schedule to server.
|
SynchronizationResult |
synchronize()
Synchronizes the server's security information with LDAP server.
|
String |
testRoleMap(String filter,
String roleName)
Checks whether the role map is valid or not.
|
Enumeration getLdapSynchronization()
Enumeration getUserNames()
boolean importLDAPGroupsAndUsers()
boolean checkSynchronization()
void setEncryptedUserAuthInfo(String name, String pw)
name - the user name.pw - the password.Vector listExistedUsers()
Vector listExistedGroups()
Vector listExistedUserNames()
String listExistedUserFullName(String name)
Vector listExistedGroupsName()
String listExistedGroupDescriptions(String groupName)
boolean importLDAPUsers(boolean isOverWrite)
isOverWrite - true when the LDAP user overwrites the local user, otherwise false.boolean importSpecifyLDAPUsers(Vector specifyUsersName, boolean isOverWrite)
specifyUsersName - the specified LDAP users' name setting.isOverWrite - true when the LDAP user overwrites the local user, otherwise false.boolean importLDAPRoles(boolean isOverWrite)
isOverWrite - true when the LDAP user overwrites the local user, otherwise false.boolean importLDAPGroups(boolean isOverWrite)
isOverWrite - true when the LDAP user overwrites the local user, otherwise false.boolean importSpecifyLDAPRoles(Vector specifyRolesName, boolean isOverWrite)
specifyRolesName - the specified roles' name setting.isOverWrite - true when the LDAP user overwrites the local user, otherwise false.boolean importSpecifyLDAPGroups(Vector specifyRolesName, boolean isOverWrite)
specifyRolesName - the specified roles' name setting.isOverWrite - true when the LDAP user overwrites the local user, otherwise false.boolean importAllLDAPUsersAndGroups(boolean isOverWrite)
isOverWrite - true when the LDAP user overwrites the local user, otherwise false.Vector getLDAPUsers()
Vector getLDAPGroups()
Vector getEncryptedUsers()
String testRoleMap(String filter, String roleName)
filter - the role map's filter.roleName - the role map's binding role name.String autoImportLDAPUser(String userName, String password)
userName - the user's name.password - the user's password.boolean isConfromFilter(String userName, String filter)
userName - the user's name.filter - the LDAP search filter.boolean confirmFilter(String userName, String filter)
userName - the user's name.filter - the LDAP search filter.boolean isValidLDAPUser(String userName, String password)
userName - the user's name.password - the user's password.boolean isValidLDAPUserByDN(String userName, String userDN, String password)
userName - the user's name.userDN - the user's dn(distinguished name) in LDAP server.password - the user's password.SynchronizationResult synchronize()
boolean isLDAPScheduleEnable()
boolean submitSynchronizeSchedule(Properties pro, String submitter)
pro - the schedule's properties.submitter - the submitter's name.Properties getSynchronizeSchedule()
boolean disableSynSchedule()
boolean enableSynSchedule()
boolean deleteSynSchedule()
boolean exportSynResultToXMLFile(String outputDir, SynchronizationResult result)
outputDir - the XML file's dir, for example: C:\temp\result.xml.result - the LDAP synchronization result.SynchronizationResult getLastLDAPSynchronizeScheduleResult()
© insightsoftware. All rights reserved.