Class SpringAuthorizationEventPublisher

java.lang.Object
org.springframework.security.authorization.SpringAuthorizationEventPublisher
All Implemented Interfaces:
AuthorizationEventPublisher

public final class SpringAuthorizationEventPublisher extends Object implements AuthorizationEventPublisher
An implementation of AuthorizationEventPublisher that uses Spring's event publishing support. Because AuthorizationGrantedEvents typically require additional business logic to decide whether to publish, this implementation only publishes AuthorizationDeniedEvents.
Since:
5.7
  • Constructor Details

    • SpringAuthorizationEventPublisher

      public SpringAuthorizationEventPublisher(org.springframework.context.ApplicationEventPublisher eventPublisher)
      Construct this publisher using Spring's ApplicationEventPublisher
      Parameters:
      eventPublisher -
  • Method Details