Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for setRoles (0.11 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                if (userCode != null) {
                    searchLog.setUserSessionId(userCode);
                    searchLog.setUserInfo(getUserInfo(userCode));
                }
            }
    
            searchLog.setRoles(roleQueryHelper.build(params.getType()).stream().toArray(n -> new String[n]));
            searchLog.setQueryId(queryId);
            searchLog.setHitCount(queryResponseList.getAllRecordCount());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/UserDbm.java

                    "registeredAddress");
            setupEpg(_epgMap, et -> ((User) et).getRoles(), (et, vl) -> ((User) et).setRoles((String[]) vl), "roles");
            setupEpg(_epgMap, et -> ((User) et).getRoomNumber(), (et, vl) -> ((User) et).setRoomNumber(DfTypeUtil.toString(vl)), "roomNumber");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            processMemberOf(user, groupList, roleList, "https://graph.microsoft.com/v1.0/me/memberOf");
            user.setGroups(groupList.stream().distinct().toArray(n -> new String[n]));
            user.setRoles(roleList.stream().distinct().toArray(n -> new String[n]));
        }
    
        protected void processMemberOf(final AzureAdUser user, final List<String> groupList, final List<String> roleList, final String url) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                                }
                            });
                            user.setGroups(groupList.toArray(new String[groupList.size()]));
                            user.setRoles(roleList.toArray(new String[roleList.size()]));
                        }
                    });
    
        }
    
        public void insert(final User user) {
            if (!fessConfig.isLdapAdminEnabled(user.getName())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

                    this.getBoost(), this.getTags().toArray(new String[this.getTags().size()]),
                    this.getRoles().toArray(new String[this.getRoles().size()]), null, SuggestItem.Kind.USER);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/exentity/User.java

            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        @Override
        public String[] getRoleNames() {
            return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top