Class AuthenticationFailureListener
java.lang.Object
cn.herodotus.engine.oauth2.management.compliance.listener.AuthenticationFailureListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AbstractAuthenticationFailureEvent>
public class AuthenticationFailureListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AbstractAuthenticationFailureEvent>
Description: 登出成功监听
- Author:
- : gengwei.zheng
- Date:
- : 2021/12/18 17:58
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationFailureListener(SignInFailureLimitedStampManager stampManager, OAuth2AccountStatusManager accountStatusManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.security.authentication.event.AbstractAuthenticationFailureEvent 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
-
AuthenticationFailureListener
public AuthenticationFailureListener(SignInFailureLimitedStampManager stampManager, OAuth2AccountStatusManager accountStatusManager)
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.security.authentication.event.AbstractAuthenticationFailureEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AbstractAuthenticationFailureEvent>
-