Fix semantics of update and events now that we know when credentials are present.

This commit is contained in:
Michael Jumper
2013-08-07 16:34:20 -07:00
parent c60d810c9c
commit 5310d3531c
4 changed files with 50 additions and 48 deletions

View File

@@ -8,9 +8,6 @@ import net.sourceforge.guacamole.net.auth.UserContext;
* authentication. The credentials that passed authentication are included
* within this event, and can be retrieved using getCredentials().
*
* Note that this event is only triggered when the UserContext is initially
* created. Any further updates to the UserContext to not trigger this event.
*
* @author Michael Jumper
*/
public class AuthenticationSuccessEvent implements UserEvent, CredentialEvent {

View File

@@ -5,9 +5,9 @@ import net.sourceforge.guacamole.net.auth.UserContext;
/**
* An event which is triggered whenever a tunnel is being closed. The tunnel
* being closed can be accessed through getTunnel(), and the set of all
* credentials available from the request which is closing the tunnel can be
* retrieved using getCredentials().
* being closed can be accessed through getTunnel(), and the UserContext
* associated with the request which is closing the tunnel can be retrieved
* with getUserContext().
*
* @author Michael Jumper
*/

View File

@@ -5,9 +5,10 @@ import net.sourceforge.guacamole.net.auth.UserContext;
/**
* An event which is triggered whenever a tunnel is being connected. The tunnel
* being connected can be accessed through getTunnel(), and the set of all
* credentials available from the request which is connecting the tunnel can be
* retrieved using getCredentials().
* being connected can be accessed through getTunnel(), and the UserContext
* associated with the request which is connecting the tunnel can be retrieved
* with getUserContext().
*
* @author Michael Jumper
*/