/opengrok/src/org/opensolaris/opengrok/authorization/ |
H A D | IAuthorizationPlugin.java | 63 boolean isAllowed(HttpServletRequest request, Project project); method in interface:IAuthorizationPlugin 73 * projects, repositories. You must include those in the isAllowed method 80 boolean isAllowed(HttpServletRequest request, Group group); method in interface:IAuthorizationPlugin
|
H A D | AuthorizationFramework.java | 80 public boolean isAllowed(HttpServletRequest request, Project project) { method in class:AuthorizationFramework 88 return plugin.isAllowed(request, project); 100 public boolean isAllowed(HttpServletRequest request, Group group) { method in class:AuthorizationFramework 108 return plugin.isAllowed(request, group);
|
/opengrok/plugins/src/main/java/ |
H A D | SampleAuthorizationPlugin.java | 44 public boolean isAllowed(HttpServletRequest request, Project project) { method in class:SampleAuthorizationPlugin 49 public boolean isAllowed(HttpServletRequest request, Group group) { method in class:SampleAuthorizationPlugin
|
H A D | HttpBasicAuthorizationPlugin.java | 115 public boolean isAllowed(HttpServletRequest request, Project project) { method in class:HttpBasicAuthorizationPlugin 126 public boolean isAllowed(HttpServletRequest request, Group group) { method in class:HttpBasicAuthorizationPlugin
|
/opengrok/test/org/opensolaris/opengrok/authorization/ |
H A D | TestPlugin.java | 40 public boolean isAllowed(HttpServletRequest request, Project project) { method in class:TestPlugin 45 public boolean isAllowed(HttpServletRequest request, Group group) { method in class:TestPlugin
|
H A D | AuthorizationFrameworkTest.java | 43 * Test of isAllowed method. 53 Assert.assertFalse(instance.isAllowed(createRequest(), createAllowedProject())); 54 Assert.assertFalse(instance.isAllowed(createRequest(), createAllowedGroup())); 58 * Test of isAllowed method. 67 Assert.assertTrue(instance.isAllowed(createRequest(), createAllowedProject())); 69 Assert.assertFalse(instance.isAllowed(createRequest(), createUnallowedProject())); 71 Assert.assertTrue(instance.isAllowed(createRequest(), createAllowedGroup())); 73 Assert.assertFalse(instance.isAllowed(createRequest(), createUnallowedGroup())); 87 * Test of isAllowed method. 93 assertEquals(getInstance().isAllowed(createReques [all...] |
H A D | AuthorizationPluginClassLoaderTest.java | 159 plugin.isAllowed(new DummyHttpServletRequest(), g) 162 plugin.isAllowed(new DummyHttpServletRequest(), p) 181 plugin.isAllowed(new DummyHttpServletRequest(), g) 184 plugin.isAllowed(new DummyHttpServletRequest(), p)
|
/opengrok/src/org/opensolaris/opengrok/web/ |
H A D | ProjectHelper.java | 113 if (!cfg.isAllowed(p)) { 164 return !cfg.isAllowed(t); 181 return !(cfg.isAllowed(t) || hasAllowedSubgroup(t)); 247 if (!cfg.isAllowed(g)) { 258 if (!cfg.isAllowed(g)) { 306 if (!cfg.isAllowed(g)) { 332 if (!cfg.isAllowed(g)) { 359 val = cfg.isAllowed(group);
|
H A D | AuthorizationFilter.java | 55 if (p != null && !config.isAllowed(p)) {
|
H A D | PageConfig.java | 822 if (projects.size() == 1 && authFramework.isAllowed(req, projects.get(0))) { 829 if (x != null && authFramework.isAllowed(req, x)) { 837 if (x != null && authFramework.isAllowed(req, x)) { 844 if (defaultProject != null && authFramework.isAllowed(req, defaultProject)) { 1305 public boolean isAllowed(Project t) { method in class:PageConfig 1306 return this.authFramework.isAllowed(this.req, t); 1314 public boolean isAllowed(Group g) { method in class:PageConfig 1315 return this.authFramework.isAllowed(this.req, g);
|
/opengrok/test/org/opensolaris/opengrok/web/ |
H A D | ProjectHelperTestBase.java | 296 public boolean isAllowed(HttpServletRequest request, Project project) { 301 public boolean isAllowed(HttpServletRequest request, Group group) {
|