protected void registerTunnel(String tunnelSessionToken, GuacamoleTunnel tunnel) {
        tunnels.put(tunnelSessionToken, tunnel);
        logger.debug("Registered tunnel \"{}\".", tunnel.getUUID());
    }
Registers the given HTTP tunnel such that future read/write requests
including the given tunnel-specific session token will be properly
directed. The session token must be unpredictable (securely-random) and
unique across all active HTTP tunnels. It is recommended that each HTTP
tunnel session token be obtained through calling {@link #generateToken()}.

@param tunnelSessionToken
    The tunnel-specific session token to associate with the HTTP tunnel
    being registered.

@param tunnel
    The tunnel to register.
guacamole-common/src/main/java/org/apache/guacamole/servlet/GuacamoleHTTPTunnelServlet.java