diff options
author | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-11-19 19:45:32 +0200 |
---|---|---|
committer | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-11-19 19:45:32 +0200 |
commit | ab46f62f417989b9793cf62c12d99bbe25f24e7a (patch) | |
tree | dc41e72c06d9fd9461351b2631cffcd04b9db7e6 /vid-app-common/src/main/java/org | |
parent | 9a86fc5f609066fb90587c7ccf4a2c340565d79c (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/main/java/org')
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/roles/RoleValidator.java | 2 |
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) { |