public class ActiveConnectionRESTService extends Object
Constructor and Description |
---|
ActiveConnectionRESTService() |
Modifier and Type | Method and Description |
---|---|
Map<String,APIActiveConnection> |
getActiveConnections(String authToken,
String authProviderIdentifier,
List<ObjectPermission.Type> permissions)
Gets a list of active connections in the system, filtering the returned
list by the given permissions, if specified.
|
void |
patchTunnels(String authToken,
String authProviderIdentifier,
List<APIPatch<String>> patches)
Applies the given active connection patches.
|
public Map<String,APIActiveConnection> getActiveConnections(String authToken, String authProviderIdentifier, List<ObjectPermission.Type> permissions) throws GuacamoleException
authToken
- The authentication token that is used to authenticate the user
performing the operation.authProviderIdentifier
- The unique identifier of the AuthenticationProvider associated with
the UserContext containing the active connections to be retrieved.permissions
- The set of permissions to filter with. A user must have one or more
of these permissions for a user to appear in the result.
If null, no filtering will be performed.GuacamoleException
- If an error is encountered while retrieving active connections.public void patchTunnels(String authToken, String authProviderIdentifier, List<APIPatch<String>> patches) throws GuacamoleException
authToken
- The authentication token that is used to authenticate the user
performing the operation.authProviderIdentifier
- The unique identifier of the AuthenticationProvider associated with
the UserContext containing the active connections to be deleted.patches
- The active connection patches to apply for this request.GuacamoleException
- If an error occurs while deleting the active connections.Copyright © 2017. All rights reserved.