|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigurationLDAP
This interface define methods to manage LDAP server configuration.
| Method Summary | |
|---|---|
java.lang.String |
autoImportLDAPUser(java.lang.String userName,
java.lang.String password)
Auto import a LDAP user |
boolean |
checkSynchronization()
Deprecated. This method is not effective since V7.0 |
boolean |
confirmFilter(java.lang.String userName,
java.lang.String filter)
Test the user confirming the LDAP search filter or not |
boolean |
deleteSynSchedule()
Delete the LDAP Synchronization schedule task |
boolean |
disableSynSchedule()
Disable the LDAP Synchronization schedule |
boolean |
enableSynSchedule()
Enable the LDAP Synchronization schedule |
boolean |
exportSynResultToXMLFile(java.lang.String outputDir,
SynchronizationResult result)
Export the LDAP synchronization result object to a xml file |
java.util.Vector |
getEncryptedUsers()
Deprecated. This method is not effective since V7.0 |
SynchronizationResult |
getLastLDAPSynchronizeScheduleResult()
Get the last LDAP synchronization schedule task's result object |
java.util.Vector |
getLDAPGroups()
Get the ldap groups set according to ldap configration |
java.util.Enumeration |
getLdapSynchronization()
Deprecated. This method is not effective since V7.0 |
java.util.Vector |
getLDAPUsers()
Get the ldap users set according to ldap configration |
java.util.Properties |
getSynchronizeSchedule()
Get the LDAP synchronization schedule's propeties |
java.util.Enumeration |
getUserNames()
get ldap users names |
boolean |
importAllLDAPUsersAndGroups(boolean isOverWrite)
Import all LDAP groups and users from LDAP server |
boolean |
importLDAPGroups(boolean isOverWrite)
Import 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 replaced by |
boolean |
importLDAPUsers(boolean isOverWrite)
Import LDAP user to local from LDAP Server |
boolean |
importSpecifyLDAPGroups(java.util.Vector specifyRolesName,
boolean isOverWrite)
Import 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 replaced by |
boolean |
importSpecifyLDAPUsers(java.util.Vector specifyUsersName,
boolean isOverWrite)
Import some LDAP users that 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()
Check the LDAP Synchronization schedule is enable or not |
boolean |
isValidLDAPUser(java.lang.String userName,
java.lang.String password)
Check a user is a valid LDAP user or not |
boolean |
isValidLDAPUserByDN(java.lang.String userName,
java.lang.String userDN,
java.lang.String password)
Check 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()
Return all 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()
Return all 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)
Submit a new LDAP synchronization schedule to server. |
SynchronizationResult |
synchronize()
Synchronize the server's security information with LDAP server |
java.lang.String |
testRoleMap(java.lang.String filter,
java.lang.String roleName)
Test the role Map is a valid role Map or not |
| Method Detail |
|---|
java.util.Enumeration getLdapSynchronization()
java.util.Enumeration getUserNames()
boolean importLDAPGroupsAndUsers()
boolean checkSynchronization()
void setEncryptedUserAuthInfo(java.lang.String name,
java.lang.String pw)
name - is user name.pw - is 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 is LDAP user overwrite local user, otherwise is not.
boolean importSpecifyLDAPUsers(java.util.Vector specifyUsersName,
boolean isOverWrite)
specifyUsersName - the specify LDAP users' name set.isOverWrite - true is LDAP user overwrite local user, otherwise is not.
boolean importLDAPRoles(boolean isOverWrite)
isOverWrite - true is LDAP user overwrite local user, otherwise is not.
boolean importLDAPGroups(boolean isOverWrite)
isOverWrite - true is LDAP user overwrite local user, otherwise is not.
boolean importSpecifyLDAPRoles(java.util.Vector specifyRolesName,
boolean isOverWrite)
specifyRolesName - specified roles' name setisOverWrite - true is LDAP user overwrite local user, otherwise is not.
boolean importSpecifyLDAPGroups(java.util.Vector specifyRolesName,
boolean isOverWrite)
specifyRolesName - specified roles' name setisOverWrite - true is LDAP user overwrite local user, otherwise is not.
boolean importAllLDAPUsersAndGroups(boolean isOverWrite)
isOverWrite - true is LDAP user overwrite local user, otherwise is not.
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 filterroleName - the role map's binding role name
java.lang.String autoImportLDAPUser(java.lang.String userName,
java.lang.String password)
userName - the user's namepassword - the user's password
boolean isConfromFilter(java.lang.String userName,
java.lang.String filter)
userName - the user's namefilter - the LDAP search filter
boolean confirmFilter(java.lang.String userName,
java.lang.String filter)
userName - the user's namefilter - the LDAP search filter
boolean isValidLDAPUser(java.lang.String userName,
java.lang.String password)
userName - the user's namepassword - the user's password
boolean isValidLDAPUserByDN(java.lang.String userName,
java.lang.String userDN,
java.lang.String password)
userDN - the user's dn in LDAP serverpassword - 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.xmlresult - the LDAP synchronization result
SynchronizationResult getLastLDAPSynchronizeScheduleResult()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||