Class AbstractAuthenticationAuditListener
- java.lang.Object
- org.springframework.boot.actuate.security.AbstractAuthenticationAuditListener
- All Implemented Interfaces:
EventListener
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationEventPublisherAware
,org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AbstractAuthenticationEvent>
- Direct Known Subclasses:
AuthenticationAuditListener
public abstract class AbstractAuthenticationAuditListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.security.authentication.event.AbstractAuthenticationEvent>, org.springframework.context.ApplicationEventPublisherAware
- Since:
- 1.3.0
Constructor Summary
Constructors Constructor Description AbstractAuthenticationAuditListener()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.context.ApplicationEventPublisher
getPublisher()
protected void
publish(AuditEvent event)
void
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
Constructor Detail
AbstractAuthenticationAuditListener
public AbstractAuthenticationAuditListener()
Method Detail
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
- Specified by:
setApplicationEventPublisher
in interfaceorg.springframework.context.ApplicationEventPublisherAware
getPublisher
protected org.springframework.context.ApplicationEventPublisher getPublisher()
publish
protected void publish(AuditEvent event)