Class LoginAttemptListener

java.lang.Object
org.craftercms.studio.impl.v2.security.listener.LoginAttemptListener

public class LoginAttemptListener extends Object
Listener that handles login attempts and adds a delay to the response.
This listener will add a random delay to all login attempts, successful or not.
It will notify the LoginAttemptManager of the login attempt result.
Since:
4.1.2
  • Constructor Details

  • Method Details

    • handleSuccessfulAttempt

      @EventListener public void handleSuccessfulAttempt(org.springframework.security.authentication.event.AuthenticationSuccessEvent event)
    • handleFailedAttempt

      @EventListener public void handleFailedAttempt(org.springframework.security.authentication.event.AuthenticationFailureBadCredentialsEvent event)