public boolean isHadoopSecurityEnabled() {
    return User.isSecurityEnabled();
  }
Return whether or not Kerberos authentication is configured for Hadoop. For non-secure Hadoop,
this always returns <code>false</code>. For secure Hadoop, it will return the value from
{@code UserGroupInformation.isSecurityEnabled()}.
hbase-common/src/main/java/org/apache/hadoop/hbase/security/UserProvider.java