Class InteractiveAuthenticationSuccessEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.authentication.event.AbstractAuthenticationEvent
org.springframework.security.authentication.event.InteractiveAuthenticationSuccessEvent
All Implemented Interfaces:
Serializable

public class InteractiveAuthenticationSuccessEvent extends AbstractAuthenticationEvent
Indicates an interactive authentication was successful.

The ApplicationEvent's source will be the Authentication object.

This does not extend from AuthenticationSuccessEvent to avoid duplicate AuthenticationSuccessEvents being sent to any listeners.

See Also:
  • Constructor Details

    • InteractiveAuthenticationSuccessEvent

      public InteractiveAuthenticationSuccessEvent(Authentication authentication, Class<?> generatedBy)
  • Method Details

    • getGeneratedBy

      public Class<?> getGeneratedBy()
      Getter for the Class that generated this event. This can be useful for generating additional logging information.
      Returns:
      the class