Okay, question here about using the decoration feature of the extensions
and accessing parameters.  I'm trying to write an extension that does both
the status checks and Wake-on-LAN on the hosts in each of the connections.
The connections are stored in the JDBC module, and I'm then implementing a
DelegatingConnection class in the WOL extension to check the status and
send the WOL packets.

However, when trying to check the status, I'm retrieving the configuration
of the connection in the constructor of the new DelegatingConnection
implementation, and none of the parameters have any value - the hostname
parameter, for example, keeps coming up null.

So, my questions are:
- Should it be possible for one extension to retrieve the full
GuacamoleConfiguration of a connection stored in another extension?
- If so, can someone provide some pointers on how to properly accomplish
this?

For reference my work is all in a branch of my fork of the guacamole-client
project, here:

https://github.com/necouchman/guacamole-client/tree/jira/513

and the extension is guacamole-auth-wol:

https://github.com/necouchman/guacamole-client/tree/jira/513/extensions/guacamole-auth-wol

I appreciate any pointers.

-Nick

Reply via email to