Class AuthenticationAuditListener
- java.lang.Object
- org.springframework.boot.actuate.security.AbstractAuthenticationAuditListener
- org.springframework.boot.actuate.security.AuthenticationAuditListener
- All Implemented Interfaces:
EventListener
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationEventPublisherAware
,org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AbstractAuthenticationEvent>
public class AuthenticationAuditListener extends AbstractAuthenticationAuditListener
Default implementation ofAbstractAuthenticationAuditListener
.
Field Summary
Fields Modifier and Type Field Description static String
AUTHENTICATION_FAILURE
Authentication failure event type.static String
AUTHENTICATION_SUCCESS
Authentication success event type.static String
AUTHENTICATION_SWITCH
Authentication switch event type.
Constructor Summary
Constructors Constructor Description AuthenticationAuditListener()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onApplicationEvent(org.springframework.security.authentication.event.AbstractAuthenticationEvent event)
Methods inherited from class org.springframework.boot.actuate.security.AbstractAuthenticationAuditListener
getPublisher, publish, setApplicationEventPublisher
Field Detail
AUTHENTICATION_SUCCESS
public static final String AUTHENTICATION_SUCCESS
Authentication success event type.- See Also:
- Constant Field Values
AUTHENTICATION_FAILURE
public static final String AUTHENTICATION_FAILURE
Authentication failure event type.- See Also:
- Constant Field Values
AUTHENTICATION_SWITCH
public static final String AUTHENTICATION_SWITCH
Authentication switch event type.- See Also:
- Constant Field Values
Constructor Detail
AuthenticationAuditListener
public AuthenticationAuditListener()
Method Detail
onApplicationEvent
public void onApplicationEvent(org.springframework.security.authentication.event.AbstractAuthenticationEvent event)