public class UserManagementClientImpl extends java.lang.Object implements UserManagementClient
UserManagementClient.| Constructor and Description |
|---|
UserManagementClientImpl(SymAuth symAuth,
SymphonyClientConfig config)
Init
|
UserManagementClientImpl(SymAuth symAuth,
SymphonyClientConfig config,
javax.ws.rs.client.Client httpClient)
Init for overriding httpClient for pod connectivity
|
| Modifier and Type | Method and Description |
|---|---|
void |
updateExternalAccess(long userId,
boolean allowExternalAccess)
Grant/disable external access to a user.
|
public UserManagementClientImpl(SymAuth symAuth, SymphonyClientConfig config)
symAuth - Symphony auth/session tokensconfig - Symphony Client configpublic UserManagementClientImpl(SymAuth symAuth, SymphonyClientConfig config, javax.ws.rs.client.Client httpClient)
symAuth - Symphony auth/session tokensconfig - Symphony client confighttpClient - HttpClient to usepublic void updateExternalAccess(long userId,
boolean allowExternalAccess)
throws UserManagementClientException
UserManagementClientupdateExternalAccess in interface UserManagementClientuserId - the Symphony user idallowExternalAccess - true to turn external access on for the given user, false to turn it offUserManagementClientException - if user external access fails to update