@Test
  public void testConnection() throws Exception {
    sessionUserName = "user1";
    hs2Conn = DriverManager.getConnection(
        miniHS2.getJdbcURL() + ";auth=noSasl", sessionUserName, "foo");
  }
Initiate a non-sasl connection. The session hook will verfiy the user name
set correctly

@throws Exception
itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestNoSaslAuth.java