Home
last modified time | relevance | path

Searched refs:getGroups (Results 1 – 25 of 1100) sorted by relevance

12345678910>>...44

/dports/science/netcdf-cxx/netcdf-cxx4-4.3.1/cxx4/
H A Dtest_group.cpp50 groupMap = ncFile.getGroups(); in main()
90 groupMap = ncFile.getGroups(NcGroup::AllGrps); in main()
106 groupMap = groupA.getGroups(); in main()
143 groupMap = groupA.getGroups(NcGroup::AllGrps); in main()
156 groupMap = groupB.getGroups(); in main()
206 groupSet = ncFile.getGroups("groupA"); in main()
233 groupSet = ncFile.getGroups("groupB"); in main()
257 groupSet = groupA.getGroups("groupA"); in main()
282 groupSet = groupA.getGroups("/"); in main()
307 groupSet = groupA.getGroups("groupB"); in main()
[all …]
/dports/www/tikiwiki/tiki-21.2/lib/test/auth/
H A DAuthTokensTest.php48 $groups = $this->obj->getGroups('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', 'tiki-index.php', $params);
114 $this->assertNull($this->obj->getGroups($token, 'tiki-index.php', ['page' => 'Home']));
121 $this->assertEquals(['Registered'], $this->obj->getGroups($token, 'tiki-index.php', []));
140 $this->obj->getGroups($token, 'tiki-index.php', ['page' => 'HomePage']);
149 $lib->getGroups($token, 'tiki-index.php', ['page' => 'HomePage']);
150 $lib->getGroups($token, 'tiki-index.php', ['page' => 'HomePage']);
153 $this->assertNull($lib->getGroups($token, 'tiki-index.php', ['page' => 'HomePage']));
231 $this->obj->getGroups('91bba2f998b48fce0146016809886127', 'tiki-index.php', []);
249 $this->obj->getGroups('91bba2f998b48fce0146016809886127', 'tiki-index.php', []);
258 $this->obj->getGroups('e2990f7983b7b6c46b3987536aa38d32', 'tiki-index.php', []);
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/
H A DTestGroupsCaching.java186 return super.getGroups(user); in getGroups()
236 groups.getGroups(user); in testNegativeGroupCaching()
246 groups.getGroups(user); in testNegativeGroupCaching()
257 groups.getGroups(user); in testNegativeGroupCaching()
307 groups.getGroups("anything"); in testExceptionsFromImplNotCachedInNegativeCache()
373 groups.getGroups("me"); in testOnlyOneRequestWhenExpiredEntryExists()
417 groups.getGroups("me"); in testCacheEntriesExpire()
423 groups.getGroups("me"); in testCacheEntriesExpire()
438 groups.getGroups("dne"); in testNegativeCacheClearedOnRefresh()
475 groups.getGroups("user1"); in testNegativeCacheEntriesExpire()
[all …]
H A DTestCompositeGroupMapping.java107 public List<String> getGroups(String user) throws IOException { in getGroups() method in TestCompositeGroupMapping.UserProvider
123 public List<String> getGroups(String user) throws IOException { in getGroups() method in TestCompositeGroupMapping.ClusterProvider
159 assertTrue(groups.getGroups(john.name).get(0).equals(john.group)); in TestMultipleGroupsMapping()
160 assertTrue(groups.getGroups(hdfs.name).get(0).equals(hdfs.group)); in TestMultipleGroupsMapping()
168 assertTrue(groups.getGroups(jack.name).size() == 2); in TestMultipleGroupsMappingWithCombined()
171 assertTrue(groups.getGroups(jack.name).contains(jack.group)); in TestMultipleGroupsMappingWithCombined()
172 assertTrue(groups.getGroups(jack.name).contains(jack.group2)); in TestMultipleGroupsMappingWithCombined()
182 assertTrue(groups.getGroups(jack.name).size() == 1); in TestMultipleGroupsMappingWithoutCombined()
183 assertTrue(groups.getGroups(jack.name).get(0).equals(jack.group)); in TestMultipleGroupsMappingWithoutCombined()
H A DTestGroupFallback.java45 List<String> groupList = groups.getGroups(username); in testGroupShell()
61 List<String> groupList = groups.getGroups(username); in testNetgroupShell()
80 List<String> groupList = groups.getGroups(username); in testGroupWithFallback()
99 List<String> groupList = groups.getGroups(username); in testNetgroupWithFallback()
/dports/devel/py-opengrok-tools/opengrok-1.3.16/opengrok-indexer/src/test/java/org/opengrok/indexer/web/
H A DProjectHelperTest.java64 Set<Group> oldGroups = new TreeSet<>(env.getGroups()); in testSynchronization()
80 Assert.assertEquals("There are 4 groups", 4, helper.getGroups().size()); in testSynchronization()
107 env.getGroups().add(g); in testSynchronization()
111 Assert.assertEquals(5, env.getGroups().size()); in testSynchronization()
157 Set<Group> result = helper.getGroups(); in testGetAllowedGroups()
193 for (Group g : RuntimeEnvironment.getInstance().getGroups()) { in testGetProjectsAllowedGroup()
210 for (Group g : RuntimeEnvironment.getInstance().getGroups()) { in testGetProjectsUnAllowedGroup()
224 for (Group g : RuntimeEnvironment.getInstance().getGroups()) { in testGetRepositoriesAllowedGroup()
241 for (Group g : RuntimeEnvironment.getInstance().getGroups()) { in testGetRepositoriesUnAllowedGroup()
315 for (Group g : RuntimeEnvironment.getInstance().getGroups()) { in testGetAllGroupedAllowedGroup()
[all …]
H A DProjectHelperExtendedTest.java45 List<Group> grps = new ArrayList<>(env.getGroups()); in setUpClass()
88 for (Group g : RuntimeEnvironment.getInstance().getGroups()) { in getAllowedGroupWithSubgroups()
97 for (Group g : RuntimeEnvironment.getInstance().getGroups()) { in getAllowedGroupWithoutSubgroups()
106 for (Group g : RuntimeEnvironment.getInstance().getGroups()) { in getUnAllowedGroupWithSubgroups()
115 for (Group g : RuntimeEnvironment.getInstance().getGroups()) { in getUnAllowedGroupWithoutSubgroups()
/dports/devel/py-opengrok-tools/opengrok-1.3.16/opengrok-indexer/src/test/java/org/opengrok/indexer/configuration/
H A DGroupsTest.java50 6, cfg.getGroups().size()); in testBasicConfiguration()
56 Set<Group> groups = cfg.getGroups(); in testDeleteGroup()
62 Assert.assertEquals(6, cfg.getGroups().size()); in testDeleteGroup()
68 Assert.assertEquals(5, cfg.getGroups().size()); in testDeleteGroup()
74 Assert.assertEquals(1, cfg.getGroups().size()); in testDeleteGroup()
80 Set<Group> groups = cfg.getGroups(); in testAddGroup()
101 Set<Group> groups = cfg.getGroups(); in testAddGroupToParent()
131 Set<Group> groups = cfg.getGroups(); in testModifyGroup()
161 Set<Group> groups = cfg.getGroups(); in testMatchGroup()
H A DConfigurationTest.java138 project.getGroups().add(opensource); in serializationOrderTest()
139 project.getGroups().add(bsd); in serializationOrderTest()
174 assertEquals(oldCfg.getGroups(), cfg.getGroups()); in serializationOrderTest()
H A DRuntimeEnvironmentTest.java168 assertNotNull(instance.getGroups()); in testGroups()
169 assertEquals(0, instance.getGroups().size()); in testGroups()
173 instance.getGroups().add(g); in testGroups()
174 assertEquals(1, instance.getGroups().size()); in testGroups()
175 assertEquals(g, instance.getGroups().iterator().next()); in testGroups()
179 assertNull(instance.getGroups()); in testGroups()
914 env.getGroups().add(group1); in testPopulateGroupsMultipleTimes()
916 env.getGroups().add(group2); in testPopulateGroupsMultipleTimes()
930 Assert.assertEquals(2, env.getGroups().size()); in testPopulateGroupsMultipleTimes()
938 Assert.assertEquals(2, env.getGroups().size()); in testPopulateGroupsMultipleTimes()
[all …]
/dports/devel/hadoop/hadoop-1.2.1/src/core/org/apache/hadoop/security/
H A DGroups.java69 public List<String> getGroups(String user) throws IOException { in getGroups() method in Groups
76 return groups.getGroups(); in getGroups()
79 groups = new CachedGroups(impl.getGroups(user)); in getGroups()
80 if (groups.getGroups().isEmpty()) { in getGroups()
85 return groups.getGroups(); in getGroups()
122 public List<String> getGroups() { in getGroups() method in Groups.CachedGroups
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/
H A DTestAccessControlList.java233 groups = acl.getGroups(); in testAccessControlList()
241 groups = acl.getGroups(); in testAccessControlList()
248 groups = acl.getGroups(); in testAccessControlList()
254 groups = acl.getGroups(); in testAccessControlList()
265 groups = acl.getGroups(); in testAccessControlList()
282 assertEquals(0, acl.getGroups().size()); in testAddRemoveAPI()
292 groups = acl.getGroups(); in testAddRemoveAPI()
304 groups = acl.getGroups(); in testAddRemoveAPI()
316 groups = acl.getGroups(); in testAddRemoveAPI()
322 groups = acl.getGroups(); in testAddRemoveAPI()
[all …]
/dports/devel/libphonenumber/libphonenumber-8.12.39/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
H A DFormatSpec.java414 public abstract ImmutableList<FormatGroup> getGroups();
449 return (getGroups().size() == 1) ? maxLength() : getGroups().get(0).minLength();
454 return getGroups().stream()
478 for (int n = fgIndex + 1; n < getGroups().size(); n++) {
479 Optional<String> replacement = getGroups().get(n).replacement();
506 prefix = prefix.replace("$" + (n + 1), getGroups().get(n).replacement().get());
520 if (getGroups().size() != other.getGroups().size()) {
523 for (int n = 0; n < getGroups().size(); n++) {
524 if (!getGroups().get(n).isCompatibleWith(other.getGroups().get(n))) {
552 return template.getGroups().stream().mapToInt(lengthFn).sum();
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/friendsofsymfony/rest-bundle/Tests/Context/
H A DContextTest.php33 $this->assertNull($this->context->getGroups());
58 $this->assertEquals(['quz', 'foo', 'bar'], $this->context->getGroups());
65 $this->assertEquals(array('quz', 'foo'), $this->context->getGroups());
68 $this->assertEquals(array('foo'), $this->context->getGroups());
77 $this->assertEquals(array('foo', 'bar'), $this->context->getGroups());
/dports/security/pear-LiveUser_Admin/LiveUser_Admin-0.4.0/docs/examples/example1/
H A DSubgroups.php5 $groups = $admin->perm->getGroups();
40 $groups = $admin->perm->getGroups(
60 $groups = $admin->perm->getGroups();
76 $subgroups = $admin->perm->getGroups(array('subgroups' => true, 'filters' => $filters));
138 $groups = $admin->perm->getGroups();
H A DGroup.php20 $groups = $admin->perm->getGroups();
72 $group = $admin->perm->getGroups($params);
88 $groups = $admin->perm->getGroups();
/dports/sysutils/libdnf/libdnf-0.64.0/tests/libdnf/transaction/
H A DCompsEnvironmentItemTest.cpp56 auto group = env2.getGroups().at(0); in testCreate()
62 auto group = env2.getGroups().at(1); in testCreate()
71 auto group = env2.getGroups().at(0); in testCreate()
97 auto group = env2->getGroups().at(0); in testGetTransactionItems()
101 auto group = env2->getGroups().at(1); in testGetTransactionItems()
/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/security/
H A DTestGroupsCaching.java61 public List<String> getGroups(String user) throws IOException { in getGroups() method in TestGroupsCaching.FakeGroupMapping
100 assertTrue(groups.getGroups("me").size() == 2); in TestGroupsCachingDefault()
104 assertTrue(groups.getGroups("me").size() == 2); in TestGroupsCachingDefault()
108 LOG.error("We are not supposed to get here." + groups.getGroups("user1").toString()); in TestGroupsCachingDefault()
119 assertTrue(groups.getGroups("user1").size() == 2); in TestGroupsCachingDefault()
H A DTestGroupFallback.java45 List<String> groupList = groups.getGroups(username); in testGroupShell()
61 List<String> groupList = groups.getGroups(username); in testNetgroupShell()
77 List<String> groupList = groups.getGroups(username); in testGroupWithFallback()
93 List<String> groupList = groups.getGroups(username); in testNetgroupWithFallback()
/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/security/authorize/
H A DTestAccessControlList.java65 List<String> elvisGroups = testGroups.getGroups("elvis"); in testNetgroups()
141 groups = acl.getGroups(); in testAccessControlList()
149 groups = acl.getGroups(); in testAccessControlList()
156 groups = acl.getGroups(); in testAccessControlList()
162 groups = acl.getGroups(); in testAccessControlList()
173 groups = acl.getGroups(); in testAccessControlList()
/dports/security/pear-LiveUser_Admin/LiveUser_Admin-0.4.0/Perm/
H A DComplex.php638 function getGroups($params = array()) function in LiveUser_Admin_Perm_Complex
644 return parent::getGroups($params);
703 $result = parent::getGroups($tmp_params);
741 $subgroup_ids = $this->getGroups($tmp_params);
761 return parent::getGroups($params);
806 $groups = parent::getGroups($params);
822 $subgroups = $this->getGroups($tmp_params);
1128 $result = $this->getGroups($param);
/dports/www/xoops/XoopsCore25-2.5.10/htdocs/modules/profile/admin/
H A Duser.php59 …if (in_array(XOOPS_GROUP_ADMIN, $obj->getGroups()) && !in_array(XOOPS_GROUP_ADMIN, $GLOBALS['xoops…
84 …lds = $gperm_handler->getItemIds('profile_edit', $GLOBALS['xoopsUser']->getGroups(), $GLOBALS['xoo…
155 …m_handler->checkRight('system_admin', XOOPS_SYSTEM_GROUP, $GLOBALS['xoopsUser']->getGroups(), 1)) {
157 $cur_groups = $user->getGroups();
198 $groups = $obj->getGroups();
/dports/www/groupoffice/groupoffice-6.4.231-php-71/go/modules/community/dokuwiki/lib/plugins/authgroupoffice/
H A Dauth.php165 $USERINFO['grps'] = $this->getGroups(\GO::session()->values['user_id']);
222 $USERINFO['grps'] = $this->getGroups($loggedUser->id);
263 'grps' => $this->getGroups($loggedUser->id)
276 function getGroups($userId) function in auth_plugin_authgroupoffice
336 'grps' => $this->getGroups($model->id)
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/
H A DNetgroupCache.java64 return new LinkedList<String>(getGroups()); in getNetgroupNames()
67 private static Set<String> getGroups() { in getGroups() method in NetgroupCache
82 return getGroups().contains(group); in isCached()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.security.auth/share/classes/com/sun/security/auth/module/
H A DUnixLoginModule.java132 if (ss.getGroups() != null && ss.getGroups().length > 0) { in login()
133 unixGroups = ss.getGroups(); in login()
147 unixGroups = ss.getGroups(); in login()

12345678910>>...44