Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 418 for roles (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            final String jwtClaim = "{\"roles\":[\"admin\",\"user\"],\"groups\":[\"group1\",\"group2\"]}";
            final Map<String, Object> attributes = new HashMap<>();
    
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            assertTrue(attributes.get("roles") instanceof List);
            @SuppressWarnings("unchecked")
            final List<Object> roles = (List<Object>) attributes.get("roles");
            assertEquals(2, roles.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            this.tags = tags != null ? tags : new String[] {};
    
            if (roles == null || roles.length == 0) {
                this.roles = new String[] { SuggestConstants.DEFAULT_ROLE };
            } else {
                this.roles = new String[roles.length];
                System.arraycopy(roles, 0, this.roles, 0, roles.length);
            }
    
            this.languages = languages != null ? languages : new String[] {};
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/RoleService.java

        }
    
        /**
         * Gets a role by its ID.
         * @param id The ID of the role.
         * @return An optional entity of the role.
         */
        public OptionalEntity<Role> getRole(final String id) {
            return roleBhv.selectByPK(id);
        }
    
        /**
         * Stores a role.
         * @param role The role to store.
         */
        public void store(final Role role) {
            ComponentUtil.getLdapManager().insert(role);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. 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][];
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            // Test tags
            String[] tags = { "tag1", "tag2" };
            item.setTags(tags);
            assertArrayEquals(tags, item.getTags());
    
            // Test roles
            String[] roles = { "admin", "user" };
            item.setRoles(roles);
            assertArrayEquals(roles, item.getRoles());
    
            // Test languages
            String[] languages = { "en", "fr" };
            item.setLanguages(languages);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            final String[] roles1 = SuggestUtil.parseQuery(queryString, roleFieldName);
            final String[] roles2 = filterQueryString == null ? new String[0] : SuggestUtil.parseQuery(filterQueryString, roleFieldName);
            return Stream.concat(Arrays.stream(roles1), Arrays.stream(roles2)).toArray(String[]::new);
        }
    
        /**
         * Analyze text.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
  7. src/main/config/es/fess_log_search_log.json

              },
              "requestedAt" : {
                "type" : "date",
                "format" : "date_optional_time"
              },
              "responseTime" : {
                "type" : "long"
              },
              "roles" : {
                "type" : "keyword"
              },
              "searchWord" : {
                "type" : "keyword"
              },
              "user" : {
                "type" : "keyword"
              },
              "userAgent" : {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Apr 12 15:00:27 GMT 2019
    - 2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/user/bsentity/BsUser.java

            this.registeredAddress = value;
        }
    
        public String[] getRoles() {
            checkSpecifiedProperty("roles");
            return roles;
        }
    
        public void setRoles(String[] value) {
            registerModifiedProperty("roles");
            this.roles = value;
        }
    
        public String getRoomNumber() {
            checkSpecifiedProperty("roomNumber");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

        /**
         * Redirects an authenticated user to the appropriate admin interface based on their roles.
         * Users with admin roles are redirected to the dashboard, while other users are redirected
         * to their designated admin action class or to the root if no specific action is available.
         *
         * @param user the authenticated user bean containing role information
         * @return HTML response redirecting to the appropriate admin interface
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

                    logger.warn("Failed to access groups/roles: {}", contentMap);
                }
            } catch (final IOException e) {
                logger.warn("Failed to access groups/roles in Entra ID.", e);
            }
        }
    
        /**
         * Adds a group or role name to the specified list.
         * @param list The list to add the group or role name to.
         * @param value The group or role name value.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
Back to Top