private void validateProperties(String categoryName, Map<String, String> properties) {
    for (String key : properties.keySet()) {
      if (AmbariServerConfigurationUtils.getConfigurationKey(categoryName, key) == null) {
        throw new IllegalArgumentException(String.format("Invalid Ambari server configuration key: %s:%s", categoryName, key));
      }
    }
  }
AmbariServerConfigurationHandler handles Ambari server specific configuration properties.
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AmbariServerConfigurationHandler.java