Class Validators

java.lang.Object
io.strimzi.kafka.oauth.services.Validators

public class Validators extends Object
A singleton holding the configured token validators
  • Constructor Details

    • Validators

      public Validators()
  • Method Details

    • get

      Get a TokenValidator for the given ConfigurationKey. If one has not been register yet, use the passed factory to create and register one.
      Parameters:
      key - A key representing a TokenValidator configured with particular configuration options
      factory - A TokenValidator supplier
      Returns:
      An existing or new token validator