Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for getRoles (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. istioctl/pkg/authz/listener.go

    		for _, fc := range parsed.filterChains {
    			for _, rbacHTTP := range fc.rbacHTTP {
    				action := rbacHTTP.GetRules().GetAction()
    				for name := range rbacHTTP.GetRules().GetPolicies() {
    					nameOfPolicy, indexOfRule := extractName(name)
    					addPolicy(action, nameOfPolicy, indexOfRule)
    				}
    				if len(rbacHTTP.GetRules().GetPolicies()) == 0 {
    					addPolicy(action, anonymousName, "0")
    				}
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.role;
    
    import static org.codelibs.fess.app.web.admin.role.AdminRoleAction.getRole;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.app.pager.RolePager;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top