Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for isSuitable (0.05 sec)

  1. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertFalse(user.isEditable());
    
            // Test with different user configurations
            user = new TestFessUser("admin", new String[] { "admin" }, new String[] { "admins" }, new String[] { "*" });
            assertFalse(user.isEditable());
    
            user = new TestFessUser("", new String[] {}, new String[] {}, new String[] {});
            assertFalse(user.isEditable());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        }
    
        public String[] getRoles() {
            return user.getRoleNames();
        }
    
        public String[] getGroups() {
            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)));
        }
    
    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/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

        public void test_isEditable() {
            // Test with non-editable user (default)
            testUser.setEditable(false);
            assertFalse(fessUserBean.isEditable());
    
            // Test with editable user
            testUser.setEditable(true);
            assertTrue(fessUserBean.isEditable());
        }
    
        public void test_hasRole() {
            // Test with no roles
            testUser.setRoleNames(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/java/org/codelibs/fess/ldap/LdapUser.java

         *
         * @return The environment for LDAP connection.
         */
        public Hashtable<String, String> getEnvironment() {
            return env;
        }
    
        @Override
        public boolean isEditable() {
            return ComponentUtil.getFessConfig().isLdapAdminEnabled(name);
        }
    
        private static String[] distinct(final String[] values) {
            if (values == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                public boolean isLdapAdminEnabled(String name) {
                    assertEquals("testuser", name);
                    return true;
                }
            });
    
            assertTrue(ldapUser.isEditable());
        }
    
        public void test_isEditable_disabled() {
            // Test when admin is disabled for the user
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
        }
    
        /**
         * Processes and normalizes a document title.
         * Applies text normalization using configured space characters and returns
         * a clean title suitable for indexing.
         *
         * @param responseData the response data from crawling (not currently used)
         * @param title the raw title text to process
         * @param dataMap additional data map (not currently used)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. docs/compression/README.md

    so performance impact should be minimal even if precompressed data is re-compressed.
    Decompressing incompressible data has no significant performance impact.
    
    Below is a list of common files and content-types which are typically not suitable for compression.
    
    - Extensions
    
     | `gz`  | (GZIP)      |
     | `bz2` | (BZIP2)     |
     | `rar` | (WinRAR)    |
     | `zip` | (ZIP)       |
     | `7z`  | (7-Zip)     |
     | `xz`  | (LZMA)      |
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SID.java

         * resolved in which case the numeric representation is returned.
         *
         * @return the domain name
         */
        String getDomainName();
    
        /**
         * Return text representing the SID type suitable for display to
         * users. Text includes 'User', 'Domain group', 'Local group', etc.
         *
         * @return textual representation of type
         */
        String getTypeText();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/EnumMultiset.java

     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    @J2ktIncompatible
    @SuppressWarnings("EnumOrdinal") // This is one of the low-level utilities where it's suitable.
    public final class EnumMultiset<E extends Enum<E>> extends AbstractMultiset<E>
        implements Serializable {
      /** Creates an empty {@code EnumMultiset}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

         */
        public int getType() {
            if (origin_server != null) {
                resolveWeak();
            }
            return type;
        }
    
        /**
         * Return text represeting the SID type suitable for display to
         * users. Text includes 'User', 'Domain group', 'Local group', etc.
         */
        /**
         * Gets a textual representation of the SID type.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
Back to top