Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 381 for Role (0.08 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

        /**
         * Default constructor.
         */
        public AdminRelatedqueryAction() {
            super();
        }
    
        /** Role name for admin related query operations */
        public static final String ROLE = "admin-relatedquery";
    
        private static final Logger logger = LogManager.getLogger(AdminRelatedqueryAction.class);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

            return user.getGroupNames();
        }
    
        public boolean isEditable() {
            return user.isEditable();
        }
    
        public boolean hasRole(final String role) {
            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

    public class AdminWebconfigAction extends FessAdminAction {
    
        /**
         * Default constructor.
         */
        public AdminWebconfigAction() {
            super();
        }
    
        /** Role name for admin web config operations */
        public static final String ROLE = "admin-webconfig";
    
        private static final Logger logger = LogManager.getLogger(AdminWebconfigAction.class);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            testUser.setRoleNames(new String[] {});
            assertFalse(fessUserBean.hasRole("admin"));
    
            // Test with single role - matching
            testUser.setRoleNames(new String[] { "admin" });
            assertTrue(fessUserBean.hasRole("admin"));
    
            // Test with single role - not matching
            assertFalse(fessUserBean.hasRole("user"));
    
            // Test with multiple roles
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/plugin/admin_plugin_installplugin.jsp

                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li role="presentation" class="nav-item"><a href="#remote" aria-controls="remote" class="nav-link active"
                                                                              role="tab"
                                                                              data-toggle="tab"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Feb 14 12:15:45 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/FessUser.java

    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();
    
        /**
         * Gets the user's assigned group names.
         * @return Array of group names.
         */
        String[] getGroupNames();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/role/CreateForm.java

        public Integer crudMode;
    
        /**
         * The name of the role.
         */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * The attributes map for the role.
         */
        public Map<String, String> attributes = new HashMap<>();
    
        /**
         * Initializes the form with default values for creating a new role.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. .github/workflows/validate-codeowners.yml

            if: (github.event_name != 'pull_request' && github.repository_owner == 'gradle') || github.event.pull_request.head.repo.full_name == github.repository
            with:
              role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all
              secret-ids: |
                ORG_TEAM_GITHUB_ACCESS_TOKEN, gha/gradle/_all/ORG_TEAM_GITHUB_ACCESS_TOKEN
    
          - uses: actions/checkout@v5
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Aug 12 07:00:55 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java

    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.opensearch.user.bsbhv.BsRoleBhv;
    import org.codelibs.fess.opensearch.user.exentity.Role;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.exception.IllegalBehaviorStateException;
    import org.dbflute.util.DfTypeUtil;
    
    /**
     * @author FreeGen
     */
    public class RoleBhv extends BsRoleBhv {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertNotNull(valueMethod);
            assertEquals(String[].class, valueMethod.getReturnType());
            assertEquals(0, valueMethod.getParameterCount());
        }
    
        // Test class with single role
        @Secured({ "ROLE_USER" })
        static class SingleRoleClass {
            public void testMethod() {
            }
        }
    
        // Test class with multiple roles
        @Secured({ "ROLE_USER", "ROLE_ADMIN" })
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top