Searched refs:request (Results 1 - 8 of 8) sorted by relevance

/opengrok/src/org/opensolaris/opengrok/authorization/
H A DIAuthorizationPlugin.java53 * 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 DAuthorizationFramework.java74 * 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/plugins/src/main/java/
H A DHttpBasicAuthorizationPlugin.java70 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...]
H A DSampleAuthorizationPlugin.java44 public boolean isAllowed(HttpServletRequest request, Project project) { argument
49 public boolean isAllowed(HttpServletRequest request, Group group) { argument
/opengrok/test/org/opensolaris/opengrok/authorization/
H A DTestPlugin.java40 public boolean isAllowed(HttpServletRequest request, Project project) { argument
45 public boolean isAllowed(HttpServletRequest request, Group group) { argument
H A DAuthorizationFrameworkTest.java164 public boolean isAllowed(HttpServletRequest request, Project project) {
169 public boolean isAllowed(HttpServletRequest request, Group group) {
178 public boolean isAllowed(HttpServletRequest request, Project project) {
183 public boolean isAllowed(HttpServletRequest request, Group group) {
/opengrok/test/org/opensolaris/opengrok/web/
H A DProjectHelperTestBase.java296 public boolean isAllowed(HttpServletRequest request, Project project) {
301 public boolean isAllowed(HttpServletRequest request, Group group) {
/opengrok/src/org/opensolaris/opengrok/web/
H A DPageConfig.java69 * 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 15 milliseconds