Searched refs:isAllowed (Results 1 - 11 of 11) sorted by relevance

/opengrok/src/org/opensolaris/opengrok/authorization/
H A DIAuthorizationPlugin.java63 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 DAuthorizationFramework.java80 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 DSampleAuthorizationPlugin.java44 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 DHttpBasicAuthorizationPlugin.java115 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 DTestPlugin.java40 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 DAuthorizationFrameworkTest.java43 * 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 DAuthorizationPluginClassLoaderTest.java159 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 DProjectHelper.java113 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 DAuthorizationFilter.java55 if (p != null && !config.isAllowed(p)) {
H A DPageConfig.java822 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 DProjectHelperTestBase.java296 public boolean isAllowed(HttpServletRequest request, Project project) {
301 public boolean isAllowed(HttpServletRequest request, Group group) {

Completed in 40 milliseconds