Class DryRunIpFilteringProvider

java.lang.Object
io.confluent.security.auth.ipFiltering.IpFilteringProvider
io.confluent.security.auth.ipFiltering.DryRunIpFilteringProvider
All Implemented Interfaces:
io.confluent.security.authorizer.provider.AccessRuleProvider, io.confluent.security.authorizer.provider.Provider, Closeable, AutoCloseable, org.apache.kafka.common.Configurable

public class DryRunIpFilteringProvider extends IpFilteringProvider
This class is a dry run implementation of the IpFilteringProvider. It simulates the behavior of IP filtering without enforcing any rules. It is used for testing, debugging and logging purposes to see how IP filtering would affect operations.
  • Field Details

  • Constructor Details

    • DryRunIpFilteringProvider

      public DryRunIpFilteringProvider()
  • Method Details

    • findRule

      public io.confluent.security.authorizer.provider.AuthorizeRule findRule(org.apache.kafka.common.security.auth.KafkaPrincipal sessionPrincipal, Set<org.apache.kafka.common.security.auth.KafkaPrincipal> groupPrincipals, String host, io.confluent.security.authorizer.Action action)
      Specified by:
      findRule in interface io.confluent.security.authorizer.provider.AccessRuleProvider
      Overrides:
      findRule in class IpFilteringProvider
    • providerName

      public String providerName()
      Specified by:
      providerName in interface io.confluent.security.authorizer.provider.Provider
      Overrides:
      providerName in class IpFilteringProvider