diff options
author | Ilana Paktor <ilanap@amdocs.com> | 2019-11-28 16:13:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-28 16:13:12 +0000 |
commit | 73c1048e558ccae72ea9e2e6ad580d4e72c1c31a (patch) | |
tree | c7b297201e75da941b9edac50c717f51155fb354 /security-util-lib/src | |
parent | a3100af1c6b572f4f588e7a80eb263fc5b91510e (diff) | |
parent | 7b089c09caf5c112fe6f3f538ddc6902b79ce384 (diff) |
Merge "Fix Sonar issues"
Diffstat (limited to 'security-util-lib/src')
-rw-r--r-- | security-util-lib/src/main/java/org/onap/sdc/security/filters/SampleFilter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security-util-lib/src/main/java/org/onap/sdc/security/filters/SampleFilter.java b/security-util-lib/src/main/java/org/onap/sdc/security/filters/SampleFilter.java index 853c40d..0578c1d 100644 --- a/security-util-lib/src/main/java/org/onap/sdc/security/filters/SampleFilter.java +++ b/security-util-lib/src/main/java/org/onap/sdc/security/filters/SampleFilter.java @@ -38,8 +38,8 @@ public class SampleFilter extends SessionValidationFilter { private static class Configuration implements ISessionValidationFilterConfiguration { private String securityKey = "AGLDdG4D04BKm2IxIWEr8o=="; - private long maxSessionTimeOut = 24*60*60*1000; - private long sessionIdleTimeOut = 60*60*1000; + private long maxSessionTimeOut = 24*60*60*1_000L; + private long sessionIdleTimeOut = 60*60*1_000L; private String redirectURL = "http://portal.api.simpledemo.onap.org:8989/ECOMPPORTAL/login.htm"; private List<String> excludedUrls = new ArrayList<>(Arrays.asList("/config","/configmgr","/rest","/kibanaProxy","/healthcheck","/upload.*")); private String cookieName = "kuku"; |