aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/main/java/org
diff options
context:
space:
mode:
authorBenjamin, Max (mb388a) <mb388a@att.com>2021-01-08 11:52:27 -0500
committerBenjamin, Max (mb388a) <mb388a@att.com>2021-01-08 11:52:27 -0500
commitd479f96e81687e658a8d6bd72da4501a99dc7bc1 (patch)
tree99995732cec7b5e2f1f42a54262a02af46d62d37 /common/src/main/java/org
parent01d865e89f94af25b477659608b7311b3ddadc1e (diff)
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) <mb388a@att.com> Change-Id: I95bee43cc41c4e241e0e16d44ef54051ba732528
Diffstat (limited to 'common/src/main/java/org')
-rw-r--r--common/src/main/java/org/onap/so/security/SoCadiFilter.java2
1 files changed, 2 insertions, 0 deletions
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);