The documentation of WSO2 Identity Server 5.2.0 describes the usage of CSRF Filter or CSRF Valve as a way to mitigate CSRF attacks - see: WSO2 IS 5.2.0 Documentation. The configuration for that was available in carbon.xml of IS 5.1.0 but is missing in IS 5.2.0.
Instead IS 5.2.0 is using OWASP CSRF Guard as described in WSO2 Carbon Documentation.
My question is: Should I activate both protection mechanism or is CSRF Guard sufficient?
Add-on question: CRLFPreventionConfig disappeared in 5.2.0 as well. Is that still needed and should be added to the carbon.xml file?