Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-824

WebAppSec providers don't work with Jersey based services

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:
      None

      Description

      The following configuration doesn't get applied in deployment (thus doesn't affect the topology) for a Jersey based service in a topology file.

      <provider>
                  <role>webappsec</role>
                  <name>WebAppSec</name>
                  <enabled>true</enabled>
                  <param><name>csrf.enabled</name><value>true</value></param>
                  <param><name>csrf.customHeader</name><value>X-XSRF-Header</value></param>
                  <param><name>csrf.methodsToIgnore</name><value>GET,OPTIONS,HEAD</value></param>
                  <param><name>cors.enabled</name><value>true</value></param>
                  <param><name>xframe-options.enabled</name><value>true</value></param>
              </provider>
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sumit.gupta Sumit Gupta
                Reporter:
                sumit.gupta Sumit Gupta
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: