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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.security.authentication.event.AuthenticationSuccessEvent event) voidsetUserAuditLoginStrategy(UserAuditLoginStrategy userAuditLoginStrategy)
-
Constructor Details
-
AuthenticationSuccessEventListener
public AuthenticationSuccessEventListener()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.security.authentication.event.AuthenticationSuccessEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>
-
setUserAuditLoginStrategy
-