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
Abstract ApplicationListener to expose Spring Security authentication events as AuditEvents.
Since:
1.3.0
  • Constructor Details

    • AbstractAuthenticationAuditListener

      public AbstractAuthenticationAuditListener()
  • Method Details

    • setApplicationEventPublisher

      public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
      Specified by:
      setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware
    • getPublisher

      protected org.springframework.context.ApplicationEventPublisher getPublisher()
    • publish

      protected void publish(AuditEvent event)