@Override
  public void cancelDelegationToken(HiveAuthFactory authFactory, String tokenStr)
      throws HiveSQLException {
    authFactory.cancelDelegationToken(tokenStr);
  }
Enable delegation token for the session
save the token string and set the token.signature in hive conf. The metastore client uses
this token.signature to determine where to use kerberos or delegation token
@throws HiveException
@throws IOException
service/src/java/org/apache/hive/service/cli/session/HiveSessionImplwithUGI.java