|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteConfigurationLDAP
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 |
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 |
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.Vector |
getLDAPUsers()
Get the ldap users set according to ldap configration |
java.util.Properties |
getSynchronizeSchedule()
Get the LDAP synchronization schedule's propeties |
java.util.Vector |
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 |
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 |
importSpecifyLDAPUsers(java.util.Vector specifyUsersName,
boolean isOverWrite)
Import some LDAP users that specified by customers to local from LDAP Server |
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.util.Vector |
listExistedGroups()
Return all groups in LDAP. |
java.util.Vector |
listExistedUsers()
Return all user names in LDAP. |
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.Vector getUserNames()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector listExistedUsers()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector listExistedGroups()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean importLDAPUsers(boolean isOverWrite)
throws java.rmi.RemoteException
isOverWrite - true is LDAP user overwrite local user, otherwise is not.
java.rmi.RemoteException - will be thrown if error occurs.
boolean importSpecifyLDAPUsers(java.util.Vector specifyUsersName,
boolean isOverWrite)
throws java.rmi.RemoteException
specifyUsersName - the specify LDAP users' name set.isOverWrite - true is LDAP user overwrite local user, otherwise is not.
java.rmi.RemoteException - will be thrown if error occurs.
boolean importLDAPGroups(boolean isOverWrite)
throws java.rmi.RemoteException
isOverWrite - true is LDAP user overwrite local user, otherwise is not.
java.rmi.RemoteException - will be thrown if error occurs.
boolean importSpecifyLDAPGroups(java.util.Vector specifyRolesName,
boolean isOverWrite)
throws java.rmi.RemoteException
specifyRolesName - specified roles' name setisOverWrite - true is LDAP user overwrite local user, otherwise is not.
java.rmi.RemoteException - will be thrown if error occurs.
boolean importAllLDAPUsersAndGroups(boolean isOverWrite)
throws java.rmi.RemoteException
isOverWrite - true is LDAP user overwrite local user, otherwise is not.
java.rmi.RemoteException
java.util.Vector getLDAPUsers()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Vector getLDAPGroups()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String testRoleMap(java.lang.String filter,
java.lang.String roleName)
throws java.rmi.RemoteException
filter - the role map's filterroleName - the role map's binding role name
java.rmi.RemoteException - will be thrown if error occurs.
java.lang.String autoImportLDAPUser(java.lang.String userName,
java.lang.String password)
throws java.rmi.RemoteException
userName - the user's namepassword - the user's password
java.rmi.RemoteException - will be thrown if error occurs.
boolean confirmFilter(java.lang.String userName,
java.lang.String filter)
throws java.rmi.RemoteException
userName - the user's namefilter - the LDAP search filter
java.rmi.RemoteException - will be thrown if error occurs.
boolean isValidLDAPUser(java.lang.String userName,
java.lang.String password)
throws java.rmi.RemoteException
userName - the user's namepassword - the user's password
java.rmi.RemoteException - will be thrown if error occurs.
boolean isValidLDAPUserByDN(java.lang.String userName,
java.lang.String userDN,
java.lang.String password)
throws java.rmi.RemoteException
userDN - the user's dn in LDAP serverpassword - the user's password
java.rmi.RemoteException - will be thrown if error occurs.
SynchronizationResult synchronize()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean isLDAPScheduleEnable()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean submitSynchronizeSchedule(java.util.Properties pro,
java.lang.String submitter)
throws java.rmi.RemoteException
pro - the schedule's properties.submitter - the submitter's name
java.rmi.RemoteException - will be thrown if error occurs.
java.util.Properties getSynchronizeSchedule()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean disableSynSchedule()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean enableSynSchedule()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean deleteSynSchedule()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
boolean exportSynResultToXMLFile(java.lang.String outputDir,
SynchronizationResult result)
throws java.rmi.RemoteException
outputDir - the xml file's dir, for example: C:\temp\result.xmlresult - the LDAP synchronization result
java.rmi.RemoteException - will be thrown if error occurs.
SynchronizationResult getLastLDAPSynchronizeScheduleResult()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||