Lines Matching defs:userProjects
42 private static final Map<String, Set<String>> userProjects = new TreeMap<>();
47 userProjects.put("007", new TreeSet<>(Arrays.asList(new String[]{"test-project-11", "test-project-5"})));
48 userProjects.put("008", new TreeSet<>(Arrays.asList(new String[]{"test-project-11", "test-project-8"})));
49 userProjects.put("009", new TreeSet<>(Arrays.asList(new String[]{"test-project-11"})));
50 userProjects.put("00A", new TreeSet<>(Arrays.asList(new String[]{"test-project-11"})));
51 userProjects.put("00B", new TreeSet<>(Arrays.asList(new String[]{"test-project-11"})));
92 userProjects.get(request.getUserPrincipal().getName()).add(p.getDescription());
95 userProjects.get(request.getUserPrincipal().getName()).add(p.getDescription());
99 userProjects.get(request.getUserPrincipal().getName()).add(p.getDescription());
102 userProjects.get(request.getUserPrincipal().getName()).add(p.getDescription());
122 return userProjects.get(request.getUserPrincipal().getName()).contains(project.getDescription());