summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2018-11-19 19:45:32 +0200
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2018-11-19 19:45:32 +0200
commitab46f62f417989b9793cf62c12d99bbe25f24e7a (patch)
treedc41e72c06d9fd9461351b2631cffcd04b9db7e6 /vid-app-common/src
parent9a86fc5f609066fb90587c7ccf4a2c340565d79c (diff)
Turn role management off by default (fix)
Change-Id: I21351601cc79a5b7ef78aa06d606e65c3efe6fed Issue-ID: VID-348 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'vid-app-common/src')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/roles/RoleValidator.java2
1 files changed, 1 insertions, 1 deletions
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<Role> userRoles;
public RoleValidator(List<Role> roles) {