net.sourceforge.guacamole.net.event
Class AuthenticationSuccessEvent
java.lang.Object
net.sourceforge.guacamole.net.event.AuthenticationSuccessEvent
- All Implemented Interfaces:
- CredentialEvent
public class AuthenticationSuccessEvent
- extends Object
- implements CredentialEvent
An event which is triggered whenever a user's credentials pass
authentication. The credentials that passed authentication are included
within this event, and can be retrieved using getCredentials().
- Author:
- Michael Jumper
Constructor Summary |
AuthenticationSuccessEvent(Credentials credentials)
Creates a new AuthenticationSuccessEvent which represents a successful
authentication attempt with the given credentials. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationSuccessEvent
public AuthenticationSuccessEvent(Credentials credentials)
- Creates a new AuthenticationSuccessEvent which represents a successful
authentication attempt with the given credentials.
- Parameters:
credentials
- The credentials which passed authentication.
getCredentials
public Credentials getCredentials()
- Description copied from interface:
CredentialEvent
- Returns the current credentials of the user triggering the event, if any.
- Specified by:
getCredentials
in interface CredentialEvent
- Returns:
- The current credentials of the user triggering the event, if
any, or null if no credentials are associated with the event.
Copyright © 2012. All Rights Reserved.