- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for Rrole1 (0.05 sec)
-
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) -
src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java
assertTrue(result.contains("role1")); assertTrue(result.contains("field1")); assertTrue(result.contains("exclude1")); } public void test_getCacheKey_sorting() { String seed = "test_seed"; String[] tags = { "zzz", "aaa", "mmm" }; String[] roles = { "role3", "role1", "role2" }; String[] fields = { "field3", "field1", "field2" };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11K bytes - Viewed (0) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 28 09:13:08 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
/** * Checks if the current user has the specified action role or administrative privileges. * * @param role the role to check (supports both view and edit variants) * @return true if the user has the role or admin privileges, false otherwise */ public static boolean hasActionRole(final String role) { final String[] roles; if (role.endsWith(FessAdminAction.VIEW)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K bytes - Viewed (0) -
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) -
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)