public void setConnections(Map<String, Connection> connections) {
        this.connections = new ConcurrentHashMap<>(connections);
    }
Replaces all connections stored within this UserData object with the
given connections. Each of these connections will be accessible by the
user specified by getUsername(). The key of each entry within the map is
the identifier and human-readable name of the corresponding connection.

@param connections
    A map of all connections to be stored within this UserData object,
    where the key of each entry is the identifier of the corresponding
    connection.
extensions/guacamole-auth-json/src/main/java/org/apache/guacamole/auth/json/user/UserData.java