Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 266 for Rrole1 (0.08 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

                assertTrue(true);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_addElevateWord_noReading() {
            try {
                suggestHelper.addElevateWord("test word", null, new String[] { "tag1" }, new String[] { "role1" }, 1.0f, true);
                assertTrue(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. 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)
  4. src/main/resources/fess_indices/fess_user.role/role.json

    Shinsuke Sugaya <******@****.***> 1638450896 +0900
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 80 bytes
    - Viewed (0)
  5. 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)
  6. 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 */
        private final Class<?> actionClass;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/main/resources/fess_config.properties

    authentication.admin.users=admin
    # Admin role names for authentication.
    authentication.admin.roles=admin
    
    # Default permissions for search roles.
    role.search.default.permissions=
    # Default display permissions for search roles.
    role.search.default.display.permissions={role}guest
    # Guest permissions for search roles.
    role.search.guest.permissions={role}guest
    
    # Prefix for user roles in search.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K 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/entity/FessUser.java

     * Provides access to user name, roles, groups, and permissions.
     */
    public interface FessUser extends Serializable {
    
        /**
         * Gets the user's display name.
         * @return The user's name.
         */
        String getName();
    
        /**
         * Gets the user's assigned role names.
         * @return Array of role names.
         */
        String[] getRoleNames();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. 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
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
Back to top