From 435217ab2605d5be77a3cd7555f6d11e10b27c24 Mon Sep 17 00:00:00 2001 From: "Benjamin, Max (mb388a)" Date: Thu, 28 Jan 2021 13:19:43 -0500 Subject: set filter with higher priority set filter with higher priority than default filters Issue-ID: SO-3496 Signed-off-by: Benjamin, Max (mb388a) Change-Id: Iae03ef47a45ad6d17bf7c4ab78c8e3906eb611aa --- common/src/main/java/org/onap/so/security/SoCadiFilter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/src/main/java/org/onap') 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 06d0795d86..1660220dc1 100644 --- a/common/src/main/java/org/onap/so/security/SoCadiFilter.java +++ b/common/src/main/java/org/onap/so/security/SoCadiFilter.java @@ -35,7 +35,8 @@ import org.springframework.stereotype.Component; @Component @Profile("!test & aaf") -@Priority(0) +// Run right before default priority of 0 to block requests +@Priority(-1) public class SoCadiFilter extends CadiFilter { protected final Logger logger = LoggerFactory.getLogger(SoCadiFilter.class); -- cgit 1.2.3-korg