public class AuthenticationSuccessEvent extends Object implements UserEvent, CredentialEvent
| Constructor and Description |
|---|
AuthenticationSuccessEvent(UserContext context,
Credentials credentials)
Creates a new AuthenticationSuccessEvent which represents a successful
authentication attempt with the given credentials.
|
| Modifier and Type | Method and Description |
|---|---|
Credentials |
getCredentials()
Returns the current credentials of the user triggering the event, if any.
|
UserContext |
getUserContext()
Returns the current UserContext of the user triggering the event, if any.
|
public AuthenticationSuccessEvent(UserContext context, Credentials credentials)
context - The UserContext created as a result of successful
authentication.credentials - The credentials which passed authentication.public UserContext getUserContext()
UserEventgetUserContext in interface UserEventpublic Credentials getCredentials()
CredentialEventgetCredentials in interface CredentialEventCopyright © 2015. All rights reserved.