Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 222 for role2 (0.03 sec)

  1. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            assertTrue(roleSet.contains("role1"));
            assertTrue(roleSet.contains("role2"));
    
            encrypted = false;
            value = "role1,role2,role3";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(3, roleSet.size());
            assertTrue(roleSet.contains("role1"));
            assertTrue(roleSet.contains("role2"));
            assertTrue(roleSet.contains("role3"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            readings[1] = new String[] { "enjin", "fuga" };
            String[] tags = new String[] { "tag1", "tag2" };
            String[] roles = new String[] { SuggestConstants.DEFAULT_ROLE, "role1", "role2", "role3" };
            queryItems[0] = new SuggestItem(new String[] { "検索", "エンジン" }, readings, new String[] { "content" }, 1, 0, -1, tags, roles, null,
                    SuggestItem.Kind.DOCUMENT);
    
            String[][] readings2 = new String[2][];
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                    final String[] roles = values[1].split(roleSeparator);
                    for (final String role : roles) {
                        if (StringUtil.isNotEmpty(role)) {
                            roleSet.add(role);
                        }
                    }
                }
            } else {
                final String[] roles = rolesStr.split(roleSeparator);
                for (final String role : roles) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            final String[] roles2 = filterQueryString == null ? new String[0] : SuggestUtil.parseQuery(filterQueryString, roleFieldName);
            final String[] roles = new String[roles1.length + roles2.length];
    
            if (roles1.length > 0) {
                System.arraycopy(roles1, 0, roles, 0, roles1.length);
            }
            if (roles2.length > 0) {
                System.arraycopy(roles2, 0, roles, roles1.length, roles2.length);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        public static boolean hasActionRole(final String role) {
            final String[] roles;
            if (role.endsWith(FessAdminAction.VIEW)) {
                roles = new String[] { role, role.substring(0, role.length() - FessAdminAction.VIEW.length()) };
            } else {
                roles = new String[] { role };
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. internal/config/identity/openid/openid.go

    		}
    
    		// Check if claim name is the non-default value and role policy is set.
    		if p.ClaimName != policy.PolicyName && p.RolePolicy != "" {
    			// In the unlikely event that the user specifies
    			// `policy.PolicyName` as the claim name explicitly and sets
    			// a role policy, this check is thwarted, but we will be using
    			// the role policy anyway.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            if (!tags.isEmpty()) {
                filterList.add(buildFilterQuery(FieldNames.TAGS, tags));
            }
    
            roles.add(SuggestConstants.DEFAULT_ROLE);
            if (!roles.isEmpty()) {
                filterList.add(buildFilterQuery(FieldNames.ROLES, roles));
            }
    
            if (!fields.isEmpty()) {
                filterList.add(buildFilterQuery(FieldNames.FIELDS, fields));
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                    if (fessConfig.isValidSearchLogPermissions(roles.toArray(new String[roles.size()]))) {
                        suggester.indexer().indexFromSearchWord(sb.toString(), fields.toArray(new String[fields.size()]),
                                tags.toArray(new String[tags.size()]), roles.toArray(new String[roles.size()]), 1, langs);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            } else {
                this.roles = new String[roles.length];
                System.arraycopy(roles, 0, this.roles, 0, roles.length);
            }
    
            this.languages = languages != null ? languages : new String[] {};
    
            kinds = new Kind[] { kind };
            if (userBoost > 1) {
                this.userBoost = userBoost;
            } else {
                this.userBoost = 1;
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

        }
    
        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asListHtml();
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, this::asListHtml);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top