Class AuthenticationSuccessEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.user.listener.AuthenticationSuccessEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>
public class AuthenticationSuccessEventListener extends java.lang.Object implements org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>Reset theBruteForceLoginAttemptsModel.setAttempts(Integer)whenever the user logins successfully.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationSuccessEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonApplicationEvent(org.springframework.security.authentication.event.AuthenticationSuccessEvent event)voidsetUserAuditLoginStrategy(UserAuditLoginStrategy userAuditLoginStrategy)
-
-
-
Method Detail
-
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
public void setUserAuditLoginStrategy(UserAuditLoginStrategy userAuditLoginStrategy)
-
-