public String getAuthMethod() {
      return authMethod;
    }
This class helps select a {@link PasswdAuthenticationProvider} for a given {@code AuthMethod}.
service/src/java/org/apache/hive/service/auth/AuthenticationProviderFactory.java