public class InteractiveAuthenticationSuccessEvent extends AbstractAuthenticationEvent
The ApplicationEvent
's source
will be the
Authentication
object.
This does not extend from AuthenticationSuccessEvent
to avoid duplicate
AuthenticationSuccessEvent
s being sent to any listeners.
source
Constructor and Description |
---|
InteractiveAuthenticationSuccessEvent(Authentication authentication,
Class<?> generatedBy) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getGeneratedBy()
Getter for the
Class that generated this event. |
getAuthentication
getTimestamp
getSource, toString
public InteractiveAuthenticationSuccessEvent(Authentication authentication, Class<?> generatedBy)
public Class<?> getGeneratedBy()
Class
that generated this event. This can be useful for
generating additional logging information.