- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for setRoles (0.13 sec)
-
src/main/java/org/codelibs/fess/app/service/RoleService.java
op.setRefreshPolicy(Constants.TRUE); }); userBhv.selectCursor(cb -> cb.query().setRoles_Equal(role.getId()), entity -> { entity.setRoles( stream(entity.getRoles()).get(stream -> stream.filter(s -> !s.equals(role.getId())).toArray(n -> new String[n]))); userBhv.insertOrUpdate(entity); }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java
result.setName(DfTypeUtil.toString(source.get(NAME))); result.setPassword(DfTypeUtil.toString(source.get(PASSWORD))); result.setGroups(toStringArray(source.get(GROUPS))); result.setRoles(toStringArray(source.get(ROLES))); result.setAttributes(source.entrySet().stream().filter(e -> isAttribute(e.getKey()))
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/exentity/User.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
// ======== public String[] getPermissions() { return user.getPermissions(); } public String[] getRoles() { return user.getRoleNames(); } public String[] getGroups() { return user.getGroupNames(); } public boolean isEditable() { return user.isEditable(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java
assertEquals(elevateWord3.getTags().get(0), settings.elevateWord().get()[2].getTags().get(0)); assertEquals(elevateWord3.getRoles().get(0), settings.elevateWord().get()[2].getRoles().get(0)); } @Test public void test_delete() { ElevateWord elevateWord1 =
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
SuggestItem item = items.get(0); assertEquals("検索エンジン", item.getText()); assertEquals("tag1", item.getTags()[0]); assertEquals("role1", item.getRoles()[0]); } protected ReadingConverter createDefaultReadingConverter() throws IOException { ReadingConverterChain chain = new ReadingConverterChain(); // chain.addConverter(new KatakanaConverter());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapUser.java
if (StringUtil.isNotBlank(baseDn) && StringUtil.isNotBlank(accountFilter)) { final LdapManager ldapManager = ComponentUtil.getLdapManager(); permissions = distinct(ArrayUtils.addAll(ldapManager.getRoles(this, baseDn, accountFilter, groupFilter, roles -> { permissions = distinct(roles); ComponentUtil.getActivityHelper().permissionChanged(OptionalThing.of(new FessUserBean(this)));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java
source.put(ELEVATE_WORD_FIELDS, elevateWord.getFields()); source.put(ELEVATE_WORD_TAGS, elevateWord.getTags()); source.put(ELEVATE_WORD_ROLES, elevateWord.getRoles()); source.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now())); arraySettings.addToArrayIndex(arraySettings.arraySettingsIndexName, arraySettings.settingsId,
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.9K bytes - Viewed (0)