Package org.apache.druid.server.security
Class AuthValidator
- java.lang.Object
-
- org.apache.druid.server.security.AuthValidator
-
public class AuthValidator extends Object
Utility functions to validate the an authorizer.
-
-
Constructor Summary
Constructors Constructor Description AuthValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidateAuthenticatorName(String authenticatorName)Validates the provided authenticatorName.voidvalidateAuthorizerName(String authorizerName)Validates the provided authorizerName.
-
-
-
Method Detail
-
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.
-
-