summaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp
diff options
context:
space:
mode:
authorParshad Patel <pars.patel@samsung.com>2019-03-05 20:32:15 +0900
committerParshad Patel <pars.patel@samsung.com>2019-03-06 16:37:46 +0900
commit289c7e0c82d38f9d17a41bc9712ac8f05c788154 (patch)
tree24caa3f0d6d6d7542d49bd5b81412bdb38f4a96f /openecomp-be/api/openecomp-sdc-rest-webapp
parent41ee9cb182dd5f730c8eb21282004ce6ee4e2927 (diff)
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 <pars.patel@samsung.com>
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp')
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/java/org/openecomp/server/configuration/CookieConfig.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/java/org/openecomp/server/configuration/CookieConfig.java b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/java/org/openecomp/server/configuration/CookieConfig.java
index 9b03f638a6..a4cc621837 100644
--- a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/java/org/openecomp/server/configuration/CookieConfig.java
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/java/org/openecomp/server/configuration/CookieConfig.java
@@ -5,8 +5,8 @@ import java.util.List;
public class CookieConfig {
String securityKey = "";
- long maxSessionTimeOut = 600*1000;
- long sessionIdleTimeOut = 30*1000;
+ long maxSessionTimeOut = 600L*1000L;
+ long sessionIdleTimeOut = 30L*1000L;
String cookieName = "AuthenticationCookie";
String redirectURL = "portal_url";
List<String> excludedUrls;