Package io.micronaut.security.event
Class LoginSuccessfulEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.security.event.SecurityEvent
io.micronaut.security.event.LoginSuccessfulEvent
- All Implemented Interfaces:
Serializable
Event triggered when a successful login takes place.
- Since:
- 1.0
- Author:
- Sergio del Amo
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionLoginSuccessfulEvent(Object source, String host, Locale locale) Event triggered when a successful login takes place. -
Method Summary
Methods inherited from class io.micronaut.security.event.SecurityEvent
getHost, getLocaleMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
LoginSuccessfulEvent
Event triggered when a successful login takes place.- Parameters:
source- theAuthenticationof the person logging in.host- The hostname from the request if availablelocale- The locale of the request- Throws:
IllegalArgumentException- if source is null.- Since:
- 4.7.0
-