protected String generateToken() {
        byte[] bytes = new byte[33];
        secureRandom.nextBytes(bytes);
        return encoder.encodeToString(bytes);
    }
Generates a new, securely-random session token that may be used to
represent the ongoing communication session of a distinct HTTP tunnel
connection.

@return
    A new, securely-random session token.
guacamole-common/src/main/java/org/apache/guacamole/servlet/GuacamoleHTTPTunnelServlet.java