Class AuthenticationSuccessListener

  • All Implemented Interfaces:
    EventListener, org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>

    @Component
    public class AuthenticationSuccessListener
    extends Object
    implements org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>
    Log successful login attempt and notify AccountLockoutManager.
    Author:
    Matija Obreza, matija.obreza@croptrust.org
    • Constructor Detail

      • AuthenticationSuccessListener

        public AuthenticationSuccessListener()
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.security.authentication.event.AuthenticationSuccessEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>