Class AuthenticationSuccessEventListener

java.lang.Object
de.hybris.platform.servicelayer.user.listener.AuthenticationSuccessEventListener
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>

public class AuthenticationSuccessEventListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>
Reset the BruteForceLoginAttemptsModel.setAttempts(Integer) whenever the user logins successfully.
  • Constructor Details

    • AuthenticationSuccessEventListener

      public AuthenticationSuccessEventListener()
  • Method Details

    • 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>
    • setUserAuditLoginStrategy

      public void setUserAuditLoginStrategy(UserAuditLoginStrategy userAuditLoginStrategy)