Package org.xbricks.heimdall.listener
Class AuthenticationSuccessEventListener
java.lang.Object
org.xbricks.heimdall.listener.AuthenticationSuccessEventListener
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>
@Component
public class AuthenticationSuccessEventListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>
-
Constructor Summary
ConstructorDescriptionAuthenticationSuccessEventListener
(LoginAttemptService loginAttemptService, XBConfigurationService configServce) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onApplicationEvent
(org.springframework.security.authentication.event.AuthenticationSuccessEvent e)
-
Constructor Details
-
AuthenticationSuccessEventListener
public AuthenticationSuccessEventListener(LoginAttemptService loginAttemptService, XBConfigurationService configServce)
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.security.authentication.event.AuthenticationSuccessEvent e) - Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>
-