diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/src/main/java/org/onap/so/security/SoCadiFilter.java | 4 |
1 files changed, 4 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 93700db682..9849db380f 100644 --- a/common/src/main/java/org/onap/so/security/SoCadiFilter.java +++ b/common/src/main/java/org/onap/so/security/SoCadiFilter.java @@ -83,6 +83,9 @@ public class SoCadiFilter extends CadiFilter { @Value("${mso.config.cadi.apiEnforcement:#{null}}") private String apiEnforcement; + @Value("${mso.config.cadi.userExpires:#{null}}") + private String userExpires; + private void checkIfNullProperty(String key, String value) { /* * When value is null, it is not defined in application.yaml set nothing in System properties @@ -108,6 +111,7 @@ public class SoCadiFilter extends CadiFilter { checkIfNullProperty(Config.AAF_LOCATE_URL, aafLocateUrl); checkIfNullProperty(Config.AAF_URL, aafUrl); checkIfNullProperty(Config.CADI_API_ENFORCEMENT, apiEnforcement); + checkIfNullProperty(Config.AAF_USER_EXPIRES, userExpires); // checkIfNullProperty(AFT_ENVIRONMENT_VAR, aftEnv); logger.debug(" *** init Filter Config *** "); super.init(filterConfig); |