summaryrefslogtreecommitdiffstats
path: root/vid-app-common
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common')
-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) {