Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Policy Installation documentation"
[policy/engine.git]
/
POLICY-SDK-APP
/
src
/
main
/
java
/
org
/
onap
/
policy
/
utils
/
UserUtils.java
diff --git
a/POLICY-SDK-APP/src/main/java/org/onap/policy/utils/UserUtils.java
b/POLICY-SDK-APP/src/main/java/org/onap/policy/utils/UserUtils.java
index
a34983a
..
1f68ffc
100644
(file)
--- a/
POLICY-SDK-APP/src/main/java/org/onap/policy/utils/UserUtils.java
+++ b/
POLICY-SDK-APP/src/main/java/org/onap/policy/utils/UserUtils.java
@@
-24,7
+24,6
@@
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.List;
import java.util.Set;
-import org.onap.policy.controller.PolicyController;
import org.onap.policy.model.Roles;
public final class UserUtils {
import org.onap.policy.model.Roles;
public final class UserUtils {
@@
-47,7
+46,6
@@
public final class UserUtils {
Set<String> scopes;
List<String> roles;
//Check if the Role and Scope Size are Null get the values from db.
Set<String> scopes;
List<String> roles;
//Check if the Role and Scope Size are Null get the values from db.
-// List<Object> userRoles = ;
roles = new ArrayList<>();
scopes = new HashSet<>();
for(Object role: userRoles){
roles = new ArrayList<>();
scopes = new HashSet<>();
for(Object role: userRoles){