- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for role3 (0.02 sec)
-
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
Secured secured = method.getAnnotation(Secured.class); assertNotNull(secured); String[] roles = secured.value(); assertEquals(3, roles.length); assertEquals("ROLE_USER", roles[0]); assertEquals("ROLE_ADMIN", roles[1]); assertEquals("ROLE_GUEST", roles[2]); } // Test non-annotated method public void test_methodWithoutAnnotation() throws NoSuchMethodException {
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/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/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/app/web/admin/dataconfig/AdminDataconfigAction.java
*/ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { return asListHtml(); } /** * Show the list page. * @param pageNumber The page number. * @param form The search form. * @return The HTML response. */ @Execute @Secured({ ROLE, ROLE + VIEW })
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.9K bytes - Viewed (0)