diff options
author | Benjamin, Max (mb388a) <mb388a@att.com> | 2021-01-28 13:19:43 -0500 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@att.com> | 2021-01-28 13:19:43 -0500 |
commit | 435217ab2605d5be77a3cd7555f6d11e10b27c24 (patch) | |
tree | 50ec80b68c856b413d5b4bb1d6daa562ba52ccb0 /common/src/main/java/org/onap | |
parent | f1235657951f714a394f1cfc7aef08af05620be4 (diff) |
set filter with higher priority
set filter with higher priority than default filters
Issue-ID: SO-3496
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: Iae03ef47a45ad6d17bf7c4ab78c8e3906eb611aa
Diffstat (limited to 'common/src/main/java/org/onap')
-rw-r--r-- | common/src/main/java/org/onap/so/security/SoCadiFilter.java | 3 |
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); |