>> To perform an action when a user logs in, you would implement an extension >> containing your own AuthentcationProvider that performs whatever tasks you >> need within getUserContext():
>> https://guacamole.apache.org/doc/guacamole-ext/org/apache/guacamole/net/auth/AuthenticationProvider.html#getUserContext(org.apache.guacamole.net.auth.AuthenticatedUser) >> That function will be called for all installed extensions after >> authentication has succeeded. >> To perform an action when a user logs out, you would make sure your >> implementation of getUserContext() returns a UserContext of your own that >> implements invalidate(): >> https://guacamole.apache.org/doc/guacamole-ext/org/apache/guacamole/net/auth/UserContext.html#invalidate() >> That function is called for all UserContexts associated with a user when >> their session is no longer valid, including when they log out From the self-implemented interface (UserContext), do I just need to override said method, invalidate()? If not, of the methods to be implemented, what should I put? -Gabriel
