Class InteractiveAuthenticationSuccessEvent

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getGeneratedBy()
      Getter for the Class that generated this event.
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InteractiveAuthenticationSuccessEvent

        public InteractiveAuthenticationSuccessEvent​(Authentication authentication,
                                                     java.lang.Class<?> generatedBy)
    • Method Detail

      • getGeneratedBy

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