Class Configuration

java.lang.Object
io.strimzi.kafka.oauth.server.authorizer.Configuration

public class Configuration extends Object
The classes used to parse and store Authorizer configuration. It is used to compare two configurations for equality and used by KeycloakAuthorizer to maintain a single instance of active Authorizer in the JVM even when multiple authorizers are instantiated from a single authorizer configuration.
  • Method Details

    • printLogs

      public void printLogs()
      When a new instance of the Configuration is created some configuration options may generate warnings. Use this method to print those warning to the log.

      This method decouples configuration creation from logging warnings.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object