public class AuthenticationSuccessEvent extends Object implements UserEvent, CredentialEvent
If a Listener throws
a GuacamoleException when handling an event of this type, successful authentication
is effectively vetoed and will be subsequently processed as though the
authentication failed.
| Constructor and Description |
|---|
AuthenticationSuccessEvent(AuthenticatedUser authenticatedUser)
Creates a new AuthenticationSuccessEvent which represents a successful
authentication attempt by the user identified by the given
AuthenticatedUser object.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticatedUser |
getAuthenticatedUser()
Returns the AuthenticatedUser identifying the user triggering the event,
if any.
|
Credentials |
getCredentials()
Returns the current credentials of the user triggering the event, if any.
|
public AuthenticationSuccessEvent(AuthenticatedUser authenticatedUser)
authenticatedUser - The AuthenticatedUser identifying the user that successfully
authenticated.public AuthenticatedUser getAuthenticatedUser()
UserEventgetAuthenticatedUser in interface UserEventpublic Credentials getCredentials()
CredentialEventgetCredentials in interface CredentialEventCopyright © 2020. All rights reserved.