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