@Override
                public long getRetryInterval() {
                  // Immediate retry
                  return 0;
                }
Add an interceptor to pass username/password in the header.
In https mode, the entire information is encrypted
jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java