Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 553 for role2 (0.15 seconds)

  1. 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)
  2. src/main/java/org/codelibs/fess/app/web/admin/role/EditForm.java

     */
    package org.codelibs.fess.app.web.admin.role;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing user roles in the admin interface.
     * This form extends CreateForm to include fields necessary for updating existing role entries,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top