I might not be the best person to respond, but I don't think there's an entry point like you're describing. If you used guacamole-common to build your own web app, that might be something you could do.
What sort of connection protocols are you using? If it's RDP, you should be able to configure session time limits on the RDP host [0]. If you're handling SSH or VNC connections, I don't know of any built in option, but you could likely put together a script that would kill sessions after a certain amount of time. [0] https://technet.microsoft.com/en-us/library/ee791741(v=ws.10).aspx On Tue, Nov 1, 2016 at 5:25 AM Nikola Malešević <[email protected]> wrote: > Hello, > > I would like to time-limit each connection by a set of rules that are > contained in my local database. For instance, some sessions would be > limited to 30 minutes, some to 14, it depends from connection to connection. > > I am not sure how I can kill the connection from server-side. I have > already developed an extension for authentication using Moodle log-in and > remote end-point connection data, but now I need to also close that same > connection after some period of time. > > The best would be if there was something like > SimpleAuthenticationProvider (but for connection handling) that I could > extend to suit my needs. > > Thanks for your advice. > > Regards, > Nikola Malesevic > -- --- David Landry
