Searched defs:group (Results 1 - 9 of 9) sorted by relevance

/opengrok/plugins/src/main/java/
H A DSampleAuthorizationPlugin.java49 public boolean isAllowed(HttpServletRequest request, Group group) { argument
H A DHttpBasicAuthorizationPlugin.java76 for (String group : Arrays.asList(new String[]{"admins", "users", "plugins", "ghost"})) {
77 if (!request.isUserInRole(group)) {
81 discoverGroup(group, request, descendants);
87 private void discoverGroup(String group, HttpServletRequest request, Set<String> descendants) { argument
89 if ((g = Group.getByName(group)) != null) {
90 // group discovery
126 public boolean isAllowed(HttpServletRequest request, Group group) { argument
133 return userGroups.get(request.getUserPrincipal().getName()).contains(group.getName());
/opengrok/src/org/opensolaris/opengrok/authorization/
H A DIAuthorizationPlugin.java67 * display the group.
72 * VERY IMPORTANT NOTE: Allowing particular group does not allow its
74 * for project if you want to display content of the group.
77 * @param group
78 * @return true if request is allowed to see this group of projects
80 boolean isAllowed(HttpServletRequest request, Group group); argument
H A DAuthorizationFramework.java94 * Checks if the request should have an access to group.
97 * @param group group object
100 public boolean isAllowed(HttpServletRequest request, Group group) { argument
104 group.getName(),
108 return plugin.isAllowed(request, group);
/opengrok/test/org/opensolaris/opengrok/authorization/
H A DTestPlugin.java45 public boolean isAllowed(HttpServletRequest request, Group group) { argument
/opengrok/src/org/opensolaris/opengrok/configuration/
H A DProject.java147 * Adds a group where this project belongs
149 * @param group group to add
151 public void addGroup(Group group) { argument
152 while (group != null) {
153 this.groups.add(group);
154 group = group.getParent();
H A DConfiguration.java463 * Adds a group to the set. This is performed upon configuration parsing
465 * @param group group
466 * @throws IOException when group is not unique across the set
468 public void addGroup(Group group) throws IOException { argument
469 if (!groups.add(group)) {
471 String.format("Duplicate group name '%s' in configuration.",
472 group.getName()));
999 // effectively transforms the group tree to a structure (Set)
1004 Group group
[all...]
/opengrok/src/org/opensolaris/opengrok/web/
H A DProjectHelper.java64 * Set of projects (not repositories) without group
68 * Set of all repositories without group
72 * Set of all projects with group
76 * Set of all repositories with group
136 // if no group matches the project, add it to not-grouped projects
243 * @param g group
244 * @return filtered group's projects
254 * @param g group
255 * @return filtered group's repositories
302 * @param g group
350 hasAllowedSubgroup(Group group) argument
381 hasFavourite(Group group) argument
[all...]
/opengrok/lib/
H A Dswing-layout-0.9.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jdesktop/ org/jdesktop/layout/ org/jdesktop/layout/AquaBaseline ...

Completed in 484 milliseconds