Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for roles2 (0.03 sec)

  1. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            String[] roles1 = secured.value();
            String[] roles2 = secured.value();
    
            // Different array instances should be returned
            assertNotSame(roles1, roles2);
    
            // But values should be the same
            assertEquals(roles1.length, roles2.length);
            for (int i = 0; i < roles1.length; i++) {
                assertEquals(roles1[i], roles2[i]);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            String[] tags = { "tag2", "tag1" };
            String[] roles = { "role2", "role1" };
            String[] fields = { "field2", "field1" };
            String[] excludes = { "exclude2", "exclude1" };
    
            String result1 = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes);
            String result2 = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes);
    
            assertEquals(result1, result2);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                    // Return roles with duplicates
                    String[] roles = new String[] { "role1", "role2", "role1", "Uuser", "role2" };
                    callback.accept(roles);
                    return roles;
                }
    
                @Override
                public String normalizePermissionName(String name) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            // Test with multiple roles
            String[] roles = { "admin", "user", "manager" };
            FessUser user = new TestFessUser("testuser", roles, new String[] {}, new String[] {});
            assertArrayEquals(roles, user.getRoleNames());
    
            // Test with single role
            roles = new String[] { "user" };
            user = new TestFessUser("testuser", roles, new String[] {}, new String[] {});
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            });
        }
    
        /**
         * Updates the role set with search roles based on the entry DN and name.
         *
         * @param roleSet the set of roles to update
         * @param entryDn the entry DN to check
         * @param name the role name
         * @return the role type prefix if successful, null otherwise
         */
        protected String updateSearchRoles(final Set<String> roleSet, final String entryDn, final String name) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                    logger.warn("Failed to access groups/roles: {}", contentMap);
                }
            } catch (final IOException e) {
                logger.warn("Failed to access groups/roles in AzureAD.", 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.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            testUser.setRoleNames(new String[] { "admin", "user", "manager" });
            roles = fessUserBean.getRoles();
            assertEquals(3, roles.length);
            assertEquals("admin", roles[0]);
            assertEquals("user", roles[1]);
            assertEquals("manager", roles[2]);
        }
    
        public void test_getGroups() {
            // Test with empty groups
            testUser.setGroupNames(new String[] {});
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

         * @param roles array of roles to filter results
         * @param fields array of fields to search in
         * @param excludes array of words to exclude from results
         * @return list of popular words matching the criteria
         */
        public List<String> getWordList(final SearchRequestType searchRequestType, final String seed, final String[] tags, final String[] roles,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                this.groups = groups;
            }
    
            /**
             * Sets the user's role assignments.
             * @param roles Array of role names.
             */
            public void setRoles(final String[] roles) {
                this.roles = roles;
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top