- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 552 for role3 (0.05 seconds)
-
src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java
/** * Exception thrown when user role authentication fails during login attempts. * This exception is used to indicate that a user does not have the required role * to access a specific action or resource. * */ public class UserRoleLoginException extends RuntimeException { private static final long serialVersionUID = 1L; /** The action class that requires specific user roles */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Nov 19 08:04:23 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
BoolQueryBuilder boolQuery = QueryBuilders.boolQuery(); Set<String> roles = Set.of("role1", "role2"); queryHelper.buildRoleQuery(roles, boolQuery); String queryString = boolQuery.toString(); assertTrue(queryString.contains("role1")); assertTrue(queryString.contains("role2")); assertTrue(queryString.contains("filter")); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 53.2K bytes - Click Count (0) -
docs/sts/keycloak.md
#### Adding 'admin' Role - Go to Roles - Add new Role `admin` with Description `${role_admin}`. - Add this Role into compositive role named `default-roles-{realm}` - `{realm}` should be replaced with whatever realm you created from `prerequisites` section. This role is automatically trusted in the 'Service Accounts' tab. - Check that `account` client_id has the role 'admin' assigned in the "Service Account Roles" tab.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 8.1K bytes - Click Count (0) -
docs/sts/assume-role.go
Harshavardhana <******@****.***> 1723857894 -0700
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Aug 17 01:24:54 GMT 2024 - 4.4K bytes - Click Count (1) -
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) -
src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java
assertTrue(true); } catch (Exception e) { assertTrue(true); } } @Test public void test_addElevateWord_noReading() { try { suggestHelper.addElevateWord("test word", null, new String[] { "tag1" }, new String[] { "role1" }, 1.0f, true); assertTrue(true);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.3K bytes - Click Count (0) -
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.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/user/AdminUserActionTest.java
final CreateForm form = new CreateForm(); form.roles = new String[] { "admin", "user" }; form.groups = new String[] { "group1", "group2" }; assertNotNull(form.roles); assertEquals(2, form.roles.length); assertEquals("admin", form.roles[0]); assertEquals("user", form.roles[1]); assertNotNull(form.groups); assertEquals(2, form.groups.length);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 5.3K bytes - Click Count (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)) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
} } } /** * Builds role-based query filters using the provided role set. * This method adds should clauses for allowed roles and must-not clauses for denied roles. * * @param roleSet the set of roles to use for filtering * @param boolQuery the boolean query builder to add role filters to */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 19.9K bytes - Click Count (0)