public boolean csrfProtectionEnabled() {
    return Boolean.parseBoolean(getProperty(API_CSRF_PREVENTION));
  }
Checks if CSRF protection enabled
@return true if CSRF protection filter should be enabled
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java