Class OPAAuthorizationEventPublisher

java.lang.Object
com.styra.opa.springboot.authorization.OPAAuthorizationEventPublisher
All Implemented Interfaces:
AuthorizationEventPublisher

public class OPAAuthorizationEventPublisher extends Object implements AuthorizationEventPublisher
Publishes OPA authorization granted/denied events. By default, only denied events are published. To change default behavior, the following configuration properties could be used:
  • opa.authorization-event.denied.enabled
  • opa.authorization-event.granted.enabled
See Also: