From d479f96e81687e658a8d6bd72da4501a99dc7bc1 Mon Sep 17 00:00:00 2001 From: "Benjamin, Max (mb388a)" Date: Fri, 8 Jan 2021 11:52:27 -0500 Subject: add explicit priority value to make sure cadi is add explicit priority value to make sure cadi is run before additional filters Issue-ID: SO-3472 Signed-off-by: Benjamin, Max (mb388a) Change-Id: I95bee43cc41c4e241e0e16d44ef54051ba732528 --- common/src/main/java/org/onap/so/security/SoCadiFilter.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/src') diff --git a/common/src/main/java/org/onap/so/security/SoCadiFilter.java b/common/src/main/java/org/onap/so/security/SoCadiFilter.java index 2763d6ee15..06d0795d86 100644 --- a/common/src/main/java/org/onap/so/security/SoCadiFilter.java +++ b/common/src/main/java/org/onap/so/security/SoCadiFilter.java @@ -22,6 +22,7 @@ */ package org.onap.so.security; +import javax.annotation.Priority; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import org.onap.aaf.cadi.config.Config; @@ -34,6 +35,7 @@ import org.springframework.stereotype.Component; @Component @Profile("!test & aaf") +@Priority(0) public class SoCadiFilter extends CadiFilter { protected final Logger logger = LoggerFactory.getLogger(SoCadiFilter.class); -- cgit 1.2.3-korg