From ab46f62f417989b9793cf62c12d99bbe25f24e7a Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Mon, 19 Nov 2018 19:45:32 +0200 Subject: Turn role management off by default (fix) Change-Id: I21351601cc79a5b7ef78aa06d606e65c3efe6fed Issue-ID: VID-348 Signed-off-by: Sonsino, Ofir (os0695) --- vid-app-common/src/main/java/org/onap/vid/roles/RoleValidator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vid-app-common/src') diff --git a/vid-app-common/src/main/java/org/onap/vid/roles/RoleValidator.java b/vid-app-common/src/main/java/org/onap/vid/roles/RoleValidator.java index 7ac5708ee..b7dcf8811 100644 --- a/vid-app-common/src/main/java/org/onap/vid/roles/RoleValidator.java +++ b/vid-app-common/src/main/java/org/onap/vid/roles/RoleValidator.java @@ -11,7 +11,7 @@ import java.util.Map; */ public class RoleValidator { - private boolean disableRoles = SystemProperties.getProperty("role_management_activated") == "false"; + private boolean disableRoles = SystemProperties.getProperty("role_management_activated").equals("false"); private List userRoles; public RoleValidator(List roles) { -- cgit 1.2.3-korg