I'm new to Guacamole and I need to get a shared connection URL for every new 
connection. For reasons, we don't have the REST API available. In Guacamole 
1.0, how do I generate the shared connection url using the Java api? I want to 
have a url that I can send to a user so they can share an existing connection.

This is what I have added to the tunnel servlet in the doConnect() method, so 
far based on what I've read.

String connID = config.getConnectionID();
              String theUrl = connID + "\0" + "c" + "\0" +"noauth";

The url would then be 
https://server/myapp/{theUrl}<https://server/myapp/%7btheUrl%7d>. Note that I'm 
using "noauth" as the provider. I've been told that we don't use authentication 
so I'm assuming that's correct. The url would be saved to a db so it could be 
retrieved to connect to the existing connection.

Is this the correct/best way to do this?

Thanks,
Scott

Reply via email to