- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for isSuitable (0.05 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* @throws CancellationException if {@code get} throws a {@code CancellationException} * @throws IllegalArgumentException if {@code exceptionClass} extends {@code RuntimeException} or * does not have a suitable constructor * @since 19.0 (in 10.0 as {@code get}) */ @CanIgnoreReturnValue @J2ktIncompatible @GwtIncompatible // reflection @ParametricNullness
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* registry suffixes, since domain name registries collectively control all internet domain names. * * <p>For considerations on whether the public suffix or registry suffix designation is more * suitable for your application, see <a * href="https://github.com/google/guava/wiki/InternetDomainNameExplained">this article</a>. * * @return {@code true} if this domain name appears exactly on the public suffix list
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
final String username = systemHelper.getUsername(); runtime.registerData("username", username); runtime.registerData("editableUser", fessLoginAssist.getSavedUserBean().map(FessUserBean::isEditable).orElse(false)); runtime.registerData("adminUser", fessConfig.isAdminUser(username) || fessLoginAssist.getSavedUserBean()
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.8K bytes - Viewed (0)