solution based on: potential cross-site request forgery (CSRF) attack thwarted

If you see in jasper log error “potential cross-site request forgery (CSRF) attack thwarted” you need to change settings for csrfguard:

  • file: “jasperserver/WEB-INF/csrf/jrs.csrfguard.properties”
    • set:
      • org.owasp.csrfguard.Enabled = false
  • file “jasperserver/WEB-INF/csrf/Websphere.jrs.csrfguard.properties”
    • set:
      • org.owasp.csrfguard.Enabled = false