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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(long serverId) Deletes the specified serverget
(long serverId) Loads external authentication settingsGUIValue[]
importUsers
(String[] usernames, long serverId) Imports a selection of usersGUIUser[]
Search for users in the LDAP repositoryvoid
save
(GUILDAPServer ldapServer) Saves external authentication settingsboolean
testConnection
(GUILDAPServer ldapServer) Tests the connection
-
Method Details
-
save
Saves 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
-
testConnection
Tests 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
-
get
Loads 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
-
delete
Deletes the specified server- Parameters:
serverId
- identifier of the authentication server- Throws:
ServerException
- an error happened in the server application
-
reorder
- Throws:
ServerException
-
listUsers
Search for users in the LDAP repository- Parameters:
login
- used with LIKE operator to restrict the searchserverId
- identifier of the LDAP server to use- Returns:
- the users that match the login
- Throws:
ServerException
- an error happened in the server application
-
importUsers
Imports a selection of users- Parameters:
usernames
- the list of usernames to importserverId
- identifier of the server to use- Returns:
- number of imports, updates, errors
- Throws:
ServerException
- an error happened in the server application
-