You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Rishi <2r...@gmail.com> on 2016/10/20 12:02:02 UTC

Obtain URL parameters in Authentication Code

Dear All,

Following is an example URL that our current users use to rdp their VMs
directly.

http://console/guacamole-0.9.9-incubating/#/client/cG9jMQBjAGNsb3Vk

How can I obtain "client/cG9jMQBjAGNsb3Vk" part of URL in authentication
extension ?

Another example,

If we are using
http://console/guacamole-0.9.9-incubating/index.html?username=abc&password=abc

How to obtain username and password in $
/guacamole-client/extensions/guacamole-auth-tutorial/src/main/java/org/apache/guacamole/auth/tutorial/TutorialAuthenticationProvider.java

Thanks,
Rishi