public boolean shouldEncryptSensitiveData() {
    return isSecurityPasswordEncryptionEnabled() && isSensitiveDataEncryptionEnabled();
  }
@return  whether security password encryption is enabled or not (defaults to {@code false})
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java