@Override
  public void authenticate(String user, String password) throws AuthenticationException {
    // no-op authentication
  }
This authentication provider allows any combination of username and password.
service/src/java/org/apache/hive/service/auth/AnonymousAuthenticationProviderImpl.java