Package org.apache.druid.server.security
Class AuthValidator
java.lang.Object
org.apache.druid.server.security.AuthValidator
Utility functions to validate the an authorizer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateAuthenticatorName(String authenticatorName) Validates the provided authenticatorName.voidvalidateAuthorizerName(String authorizerName) Validates the provided authorizerName.
-
Constructor Details
-
AuthValidator
public AuthValidator()
-
-
Method Details
-
validateAuthorizerName
Validates the provided authorizerName.- Parameters:
authorizerName- the name of the authorizer.- Throws:
IllegalArgumentException- on invalid authorizer names.
-
validateAuthenticatorName
Validates the provided authenticatorName.- Parameters:
authenticatorName- the name of the authenticator.- Throws:
IllegalArgumentException- on invalid authenticator names.
-