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

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