Class AuthenticationSuccessListener
java.lang.Object
cn.herodotus.engine.oauth2.management.compliance.listener.AuthenticationSuccessListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>
public class AuthenticationSuccessListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AuthenticationSuccessEvent>
Description: 登录成功事件监听
- Author:
- : gengwei.zheng
- Date:
- : 2022/7/7 20:58
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationSuccessListener(SignInFailureLimitedStampManager stampManager, OAuth2ComplianceService complianceService) -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.security.authentication.event.AuthenticationSuccessEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
AuthenticationSuccessListener
public AuthenticationSuccessListener(SignInFailureLimitedStampManager stampManager, OAuth2ComplianceService complianceService)
-
-
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>
-