smolnar82 opened a new pull request, #1556:
URL: https://github.com/apache/knox/pull/1556

   [KNOX-3625](https://issues.apache.org/jira/browse/KNOX-3625) - Fix WebAppSec 
X-Frame-Options and security header filter configuration
   
   ## What changes were proposed in this pull request?
   
   Configuration cleanup in the WebAppSec provider:
   - X-Frame-Options: the parameter names in the code, unit tests and docs are 
aligned. The previous name is still accepted.
   - Security header filter: configuration through the deployment contributor 
is fixed. The previous name is still accepted. The filter is now documented in 
`config_webappsec_provider.md`.
   
   ## How was this patch tested?
   
   - `mvn -pl gateway-provider-security-webappsec verify` passes, including 
checkstyle, PMD and spotbugs.
   - New `WebAppSecContributorTest` tests contribute the filters from provider 
params, then load, initialize and run them the way `GatewayFilter` does.
   - `XFrameOptionsFilterTest` covers both parameter names.
   
   ## Integration Tests
   
   None added. The new unit tests run the contributed filters with the 
deployment contributor's params.
   
   ## Performance implications
   
   None. Only filter configuration changes, and it is read once in `init()`. 
The per-request code is unchanged.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to