Class AbstractAuthenticationEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.authentication.event.AbstractAuthenticationEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractAuthenticationFailureEvent, AuthenticationSuccessEvent, AuthenticationSwitchUserEvent, InteractiveAuthenticationSuccessEvent, LogoutSuccessEvent, SessionFixationProtectionEvent

public abstract class AbstractAuthenticationEvent extends org.springframework.context.ApplicationEvent
Represents an application authentication event.

The ApplicationEvent's source will be the Authentication object.

See Also:
  • Constructor Details

    • AbstractAuthenticationEvent

      public AbstractAuthenticationEvent(Authentication authentication)
  • Method Details

    • getAuthentication

      public Authentication getAuthentication()
      Getters for the Authentication request that caused the event. Also available from super.getSource().
      Returns:
      the authentication request