Class AuthenticationFailureBadCredentialsListener

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

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

      • AuthenticationFailureBadCredentialsListener

        public AuthenticationFailureBadCredentialsListener()
    • Method Detail

      • onApplicationEvent

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