summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2021-01-28 19:35:11 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-28 19:35:11 +0000
commit259f09136f3dc440db8dfc9cf7ee1fb34b47b66b (patch)
tree1bcc8c365881fed71b4adc5784ce0f2fb04cd647
parent2eb54b38105676d6e02749f675c8c9b626a0ef35 (diff)
parent435217ab2605d5be77a3cd7555f6d11e10b27c24 (diff)
Merge "set filter with higher priority"
-rw-r--r--common/src/main/java/org/onap/so/security/SoCadiFilter.java3
1 files changed, 2 insertions, 1 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 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);