From 289c7e0c82d38f9d17a41bc9712ac8f05c788154 Mon Sep 17 00:00:00 2001 From: Parshad Patel Date: Tue, 5 Mar 2019 20:32:15 +0900 Subject: Fix sonar issue in sdc/openecomp-be Fix Cast one of the operands of this multiplication operation to a "long" issue Issue-ID: SDC-1895 Change-Id: I3e87b13e132dafd90558395089111dcf22b75a6e Signed-off-by: Parshad Patel --- .../java/org/openecomp/sdc/securityutil/filters/SampleFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openecomp-be/backend/openecomp-sdc-security-util/src') diff --git a/openecomp-be/backend/openecomp-sdc-security-util/src/main/java/org/openecomp/sdc/securityutil/filters/SampleFilter.java b/openecomp-be/backend/openecomp-sdc-security-util/src/main/java/org/openecomp/sdc/securityutil/filters/SampleFilter.java index 15cd4c537c..bf698c392b 100644 --- a/openecomp-be/backend/openecomp-sdc-security-util/src/main/java/org/openecomp/sdc/securityutil/filters/SampleFilter.java +++ b/openecomp-be/backend/openecomp-sdc-security-util/src/main/java/org/openecomp/sdc/securityutil/filters/SampleFilter.java @@ -28,8 +28,8 @@ public class SampleFilter extends SessionValidationFilter { private Configuration() { //security key should be exactly 16 characters long clear text and then encoded to base64 this.securityKey = "AGLDdG4D04BKm2IxIWEr8o=="; - this.maxSessionTimeOut = 24*60*60*1000; - this.sessionIdleTimeOut = 60*60*1000; + this.maxSessionTimeOut = 24L*60L*60L*1000L; + this.sessionIdleTimeOut = 60L*60L*1000L; this.redirectURL = "https://www.e-access.att.com/ecomp_portal_ist/ecompportal/process_csp"; this.excludedUrls = new ArrayList<>(Arrays.asList("/config","/configmgr","/rest","/kibanaProxy","/healthcheck","/upload.*")); -- cgit 1.2.3-korg