|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteConfigurationLDAP
This interface defines methods to manage LDAP server configuration.
| Method Summary | |
|---|---|
java.lang.String |
autoImportLDAPUser(java.lang.String userName,
java.lang.String password)
Auto imports an LDAP user. |
boolean |
confirmFilter(java.lang.String userName,
java.lang.String filter)
Tests 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. |
SynchronizationResult |
getLastLDAPSynchronizeScheduleResult()
Gets the last LDAP synchronization schedule task's result object. |
java.util.Vector |
getLDAPGroups()
Gets the ldap groups according to the ldap configuration. |
java.util.Vector |
getLDAPUsers()
Gets the ldap users according to the ldap configuration. |
java.util.Properties |
getSynchronizeSchedule()
Gets the LDAP synchronization schedule's properties. |
java.util.Vector |
getUserNames()
Gets the ldap users' names. |
boolean |
importAllLDAPUsersAndGroups(boolean isOverWrite)
Imports all LDAP groups and users from the LDAP server. |
boolean |
importLDAPGroups(boolean isOverWrite)
Imports LDAP groups to local from the LDAP Server (imports to role or group) |
boolean |
importLDAPUsers(boolean isOverWrite)
Imports LDAP users to local from the LDAP Server. |
boolean |
importSpecifyLDAPGroups(java.util.Vector specifyRolesName,
boolean isOverWrite)
Imports some LDAP groups specified by customers to local from the LDAP Server (imports to role or group) |
boolean |
importSpecifyLDAPUsers(java.util.Vector specifyUsersName,
boolean isOverWrite)
Imports some LDAP users specified by customers to local from LDAP Server |
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.util.Vector |
listExistedGroups()
Returns all groups in LDAP. |
java.util.Vector |
listExistedUsers()
Returns all user names in LDAP. |
boolean |
submitSynchronizeSchedule(java.util.Properties pro,
java.lang.String submitter)
Submits a new LDAP synchronization schedule to the server. |
SynchronizationResult |
synchronize()
Synchronizes the server's security information with the LDAP server. |
java.lang.String |
testRoleMap(java.lang.String filter,
java.lang.String roleName)
Tests whether the role Map is a valid role Map or not |
| Method Detail |
|---|
java.util.Vector getUserNames()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.util.Vector listExistedUsers()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.util.Vector listExistedGroups()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean importLDAPUsers(boolean isOverWrite)
throws java.rmi.RemoteException
isOverWrite - true if the LDAP users overwrite the local users, otherwise false.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean importSpecifyLDAPUsers(java.util.Vector specifyUsersName,
boolean isOverWrite)
throws java.rmi.RemoteException
specifyUsersName - the specifies LDAP users' names.isOverWrite - true if the LDAP users overwrite the local users, otherwise false.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean importLDAPGroups(boolean isOverWrite)
throws java.rmi.RemoteException
isOverWrite - true if the LDAP users overwrite the local users, otherwise false.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean importSpecifyLDAPGroups(java.util.Vector specifyRolesName,
boolean isOverWrite)
throws java.rmi.RemoteException
specifyRolesName - the specified roles' namesisOverWrite - true if the LDAP users overwrite the local users, otherwise false.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean importAllLDAPUsersAndGroups(boolean isOverWrite)
throws java.rmi.RemoteException
isOverWrite - true if the LDAP users overwrite the local users, otherwise false.
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.util.Vector getLDAPUsers()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
java.util.Vector getLDAPGroups()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
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 bound role name
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
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 - if communication-related error occurs during RMI call execution.
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 - if communication-related error occurs during RMI call execution.
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 - if communication-related error occurs during RMI call execution.
boolean isValidLDAPUserByDN(java.lang.String userName,
java.lang.String userDN,
java.lang.String password)
throws java.rmi.RemoteException
userName - the user's nameuserDN - the user's distinguished name in the LDAP serverpassword - the user's password
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
SynchronizationResult synchronize()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean isLDAPScheduleEnable()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
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 - if communication-related error occurs during RMI call execution.
java.util.Properties getSynchronizeSchedule()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean disableSynSchedule()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean enableSynSchedule()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean deleteSynSchedule()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
boolean exportSynResultToXMLFile(java.lang.String outputDir,
SynchronizationResult result)
throws java.rmi.RemoteException
outputDir - the xml file's directory, for example, C:\temp\result.xmlresult - the LDAP synchronization result
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
SynchronizationResult getLastLDAPSynchronizeScheduleResult()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||