Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 266 for role2 (0.11 sec)

  1. src/main/java/org/codelibs/fess/opensearch/user/exentity/Role.java

    package org.codelibs.fess.opensearch.user.exentity;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.opensearch.user.bsentity.BsRole;
    
    /**
     * @author FreeGen
     */
    public class Role extends BsRole {
    
        private static final long serialVersionUID = 1L;
    
        private Map<String, String> attributes;
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/RoleService.java

        }
    
        /**
         * Gets a role by its ID.
         * @param id The ID of the role.
         * @return An optional entity of the role.
         */
        public OptionalEntity<Role> getRole(final String id) {
            return roleBhv.selectByPK(id);
        }
    
        /**
         * Stores a role.
         * @param role The role to store.
         */
        public void store(final Role role) {
            ComponentUtil.getLdapManager().insert(role);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. 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)
  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/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)
  6. 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)
  7. 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)
  8. 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)
  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/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)
Back to top