Class AuthValidator

java.lang.Object
org.apache.druid.server.security.AuthValidator

public class AuthValidator extends Object
Utility functions to validate the an authorizer.
  • Constructor Details

    • AuthValidator

      public AuthValidator()
  • Method Details

    • validateAuthorizerName

      public void validateAuthorizerName(String authorizerName)
      Validates the provided authorizerName.
      Parameters:
      authorizerName - the name of the authorizer.
      Throws:
      IllegalArgumentException - on invalid authorizer names.
    • validateAuthenticatorName

      public void validateAuthenticatorName(String authenticatorName)
      Validates the provided authenticatorName.
      Parameters:
      authenticatorName - the name of the authenticator.
      Throws:
      IllegalArgumentException - on invalid authenticator names.