Searched defs:request (Results 1 - 6 of 6) sorted by relevance
/opengrok/plugins/src/main/java/ |
H A D | SampleAuthorizationPlugin.java | 44 public boolean isAllowed(HttpServletRequest request, Project project) { argument 49 public boolean isAllowed(HttpServletRequest request, Group group) { argument
|
H A D | HttpBasicAuthorizationPlugin.java | 70 private void init(HttpServletRequest request) { argument 77 if (!request.isUserInRole(group)) { 81 discoverGroup(group, request, descendants); 84 userGroups.get(request.getUserPrincipal().getName()).addAll(descendants); 87 private void discoverGroup(String group, HttpServletRequest request, Set<String> descendants) { argument 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()); 115 public boolean isAllowed(HttpServletRequest request, Projec argument 126 isAllowed(HttpServletRequest request, Group group) argument [all...] |
/opengrok/src/org/opensolaris/opengrok/authorization/ |
H A D | IAuthorizationPlugin.java | 53 * This method should decide if given request should be allowed to view or 56 * It is up to the implementor if the standard request attributes like 59 * @param request 61 * @return true if request is allowed to see this project 63 boolean isAllowed(HttpServletRequest request, Project project); argument 66 * This method should decide if given request should be allowed to view or 69 * It is up to the implementor if the standard request attributes like 76 * @param request 78 * @return true if request is allowed to see this group of projects 80 boolean isAllowed(HttpServletRequest request, Grou argument [all...] |
H A D | AuthorizationFramework.java | 74 * Checks if the request should have an access to project. 76 * @param request request object 80 public boolean isAllowed(HttpServletRequest request, Project project) { argument 82 request, 88 return plugin.isAllowed(request, project); 94 * Checks if the request should have an access to group. 96 * @param request request object 100 public boolean isAllowed(HttpServletRequest request, Grou argument 349 checkAll(HttpServletRequest request, String cache, String name, Predicate<IAuthorizationPlugin> predicate) argument [all...] |
/opengrok/test/org/opensolaris/opengrok/authorization/ |
H A D | TestPlugin.java | 40 public boolean isAllowed(HttpServletRequest request, Project project) { argument 45 public boolean isAllowed(HttpServletRequest request, Group group) { argument
|
/opengrok/src/org/opensolaris/opengrok/web/ |
H A D | PageConfig.java | 69 * A simple container to lazy initialize common vars wrt. a single request. It 77 * this class a bean with request scope ;-)). Furthermore it helps to keep the 78 * pages (how content gets generated) consistent and to document the request 82 * method of this class changes neither the request nor the response. 127 * Sets current request's attribute. 137 * Gets current request's attribute. 146 * Removes an attribute from the current request 181 * Get all data required to create a diff view wrt. to this request in one 205 * Basically the request URI looks like this: 309 * Get the diff display type to use wrt. the request paramete 1261 get(HttpServletRequest request) argument [all...] |
Completed in 11 milliseconds