public void setActiveConnectionPermissions(Map<String, Set<ObjectPermission.Type>> activeConnectionPermissions) {
        this.activeConnectionPermissions = activeConnectionPermissions;
    }
Replaces the current map of active connection permissions with the give
map, which must map active connection ID to its corresponding set of
granted permissions. If an active connection has no permissions, its ID
must not be present as a key in the map.

@param activeConnectionPermissions
    The map which must replace the currently-stored map of permissions.
guacamole/src/main/java/org/apache/guacamole/rest/permission/APIPermissionSet.java