Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 282 for role1 (0.03 seconds)

  1. CLAUDE.md

    ## Architecture Patterns
    
    ### Action (Controller)
    - Hierarchy: `TypicalAction` → `FessBaseAction` → `FessAdminAction`/`FessSearchAction`
    - `@Execute` marks web endpoints
    - `@Resource` for DI
    - `@Secured({ "role", "role-view" })` for authorization
    - Return `HtmlResponse` for JSP, `JsonResponse` for APIs
    
    ### Service
    - Inject behaviors (Bhv) for data access
    - Use `OptionalEntity<T>` for nullable returns
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 09:48:10 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        // ===================================================================================
        //
    
        /**
         * Displays the general settings index page.
         *
         * @return HTML response for the general settings page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 05:54:31 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  3. 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 })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

             * @param groups The groups.
             * @param roles The roles.
             */
            public SamlUser(final String nameId, final String sessionIndex, final String nameIdFormat, final String nameidNameQualifier,
                    final String nameidSPNameQualifier, final String[] groups, final String[] roles) {
                this.nameId = nameId;
                this.sessionIndex = sessionIndex;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                return entity;
            });
        }
    
        /**
         * Registers available roles and labels for use in web config forms.
         * Includes role types, label types, and label setting configuration.
         *
         * @param data the render data to register the roles and labels with
         */
        protected void registerRolesAndLabels(final RenderData data) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

        }
    
        @Override
        protected String getActionRole() {
            return ROLE;
        }
    
        /**
         * Show the index page.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asListHtml();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

        /** OpenID Connect default roles. */
        @Size(max = 1000)
        public String oicDefaultRoles;
    
        /** SAML service provider base URL. */
        @Size(max = 1000)
        public String samlSpBaseUrl;
    
        /** SAML attribute name for group membership. */
        @Size(max = 1000)
        public String samlAttributeGroupName;
    
        /** SAML attribute name for role membership. */
        @Size(max = 1000)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
Back to Top