@Override
      public void doFilter(
          ServletRequest request, ServletResponse response,
          FilterChain chain) throws IOException, ServletException {
          if (doXsrfFilter(request, response, methodsToIgnore, headerName)){
            chain.doFilter(request, response);
          }
      }
A JAAS configuration for ZooKeeper clients intended to use for SASL
Kerberos.
shims/common/src/main/java/org/apache/hadoop/hive/shims/Utils.java