Interface LDAPService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("ldap")
public interface LDAPService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the LdapService.
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete(long serverId) Deletes the specified serverget(long serverId) Loads external authentication settingsimportUsers(List<String> usernames, long serverId) Imports a selection of usersSearch for users in the LDAP repositoryvoidsave(GUILDAPServer ldapServer) Saves external authentication settingsbooleantestConnection(GUILDAPServer ldapServer) Tests the connection
- 
Method Details- 
saveSaves external authentication settings- Parameters:
- ldapServer- the external authentication server
- Returns:
- the saved Saves external authentication settings
- Throws:
- ServerException- an error happened in the server application
 
- 
testConnectionTests the connection- Parameters:
- ldapServer- the external authentication server
- Returns:
- true if the external authentication server allowed the access
- Throws:
- ServerException- an error happened in the server application
 
- 
getLoads external authentication settings- Parameters:
- serverId- identifier of the external authentication server
- Returns:
- the external authentication settings retrieved by the server application
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteDeletes the specified server- Parameters:
- serverId- identifier of the authentication server
- Throws:
- ServerException- an error happened in the server application
 
- 
reorder- Throws:
- ServerException
 
- 
listUsersSearch for users in the LDAP repository- Parameters:
- login- used with LIKE operator to restrict the search
- serverId- identifier of the LDAP server to use
- Returns:
- the users that match the login
- Throws:
- ServerException- an error happened in the server application
 
- 
importUsersImports a selection of users- Parameters:
- usernames- the list of usernames to import
- serverId- identifier of the server to use
- Returns:
- number of imports, updates, errors
- Throws:
- ServerException- an error happened in the server application
 
 
-