summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/main/java/org/onap/vid')
-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 7ac5708e..b7dcf881 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) {