summaryrefslogtreecommitdiffstats
path: root/security-util-lib
diff options
context:
space:
mode:
Diffstat (limited to 'security-util-lib')
-rw-r--r--security-util-lib/src/main/java/org/onap/sdc/security/filters/SampleFilter.java4
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";