I have setup my extension in 1.6.0 to pass event.getClass() to determine the 
kind of event received and processed. I see 
org.apache.guacamole.net.event.AuthenticationSuccess/FailureEvent, 
org.apache.guacamole.GuacamoleSession$1, 
org.apache.guacamole.rest.auth.AuthenticationService$$Lambda/<hex?>. I do not 
see UserSessionInvalidatedEvent when I logout. Am I doing something wrong? Or 
is it not fully implemented in RC1?

Sent with [Proton Mail](https://proton.me/mail/home) secure email.

On Wednesday, June 11th, 2025 at 5:55 PM, Nick Couchman <[email protected]> 
wrote:

> On Wed, Jun 11, 2025 at 10:18 AM viktor_krumm 
> <[email protected]> wrote:
>
>> org.apache.guacamole.net.event.listener lists just a few classes. 
>> AuthenticationSuccessEvent fires every time a event occurs. I do not see a 
>> way to determine what event caused it to fire. Is there a way to detect 
>> logout events?
>
> Version 1.5.5 and earlier only have four events implemented - they are:
>
> AuthenticationFailureEvent
> AuthenticationSuccessEvent
> TunnelOpenEvent
> TunnelCloseEvent
>
> (https://github.com/apache/guacamole-client/tree/1.5.5/guacamole-ext/src/main/java/org/apache/guacamole/net/event)
>
> Version 1.6.0 will add several new event types, including the 
> UserSessionInvalidatedEvent class, which is probably what you're looking for.
>
> (https://github.com/apache/guacamole-client/tree/staging/1.6.0/guacamole-ext/src/main/java/org/apache/guacamole/net/event)
>
> -Nick

Reply via email to