summaryrefslogtreecommitdiff
path: root/eaaf_core/checks
diff options
context:
space:
mode:
authorlalber <lukas.alber@iaik.tugraz.at>2021-03-16 14:45:30 +0100
committerlalber <lukas.alber@iaik.tugraz.at>2021-03-16 14:45:30 +0100
commit5bd780462933b439d2e323c18a5404da60e764a5 (patch)
tree146f633a9818ce581fc4e1f4ff39b3b256ac3fcd /eaaf_core/checks
parent5abcd67602145c06715f71a7e420a1b10271e1a6 (diff)
downloadEAAF-Components-5bd780462933b439d2e323c18a5404da60e764a5.tar.gz
EAAF-Components-5bd780462933b439d2e323c18a5404da60e764a5.tar.bz2
EAAF-Components-5bd780462933b439d2e323c18a5404da60e764a5.zip
add some Junit fixes and other spotbug based ones
Diffstat (limited to 'eaaf_core/checks')
-rw-r--r--eaaf_core/checks/spotbugs-exclude.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/eaaf_core/checks/spotbugs-exclude.xml b/eaaf_core/checks/spotbugs-exclude.xml
index aa11a955..44642450 100644
--- a/eaaf_core/checks/spotbugs-exclude.xml
+++ b/eaaf_core/checks/spotbugs-exclude.xml
@@ -26,6 +26,12 @@
<Bug pattern="SPRING_CSRF_UNRESTRICTED_REQUEST_MAPPING" />
</Match>
<Match>
+ <!-- the ErrorToken is only single-used as same as a CSRF token -->
+ <Class name="at.gv.egiz.eaaf.core.impl.idp.controller.ProtocolFinalizationController"/>
+ <Method name="errorRedirect" />
+ <Bug pattern="SPRING_CSRF_UNRESTRICTED_REQUEST_MAPPING" />
+ </Match>
+ <Match>
<!-- Only used to evaluate expressions from pre-compiled process-flows -->
<OR>
<Class name="at.gv.egiz.eaaf.core.impl.idp.process.springweb.SpringWebExpressionEvaluator"/>