Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for guest (0.05 sec)

  1. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            assertTrue(fessUserBean.hasRoles(new String[] { "admin", "user" }));
            assertTrue(fessUserBean.hasRoles(new String[] { "guest", "admin" }));
    
            // Test with no matching roles
            assertFalse(fessUserBean.hasRoles(new String[] { "guest", "viewer" }));
    
            // Test with multiple roles
            testUser.setRoleNames(new String[] { "admin", "user", "manager" });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            requestBody.put("max_access_count", 100);
            requestBody.put("num_of_thread", 1);
            requestBody.put("interval_time", 100);
            requestBody.put("boost", 100);
            requestBody.put("permissions", "{role}guest");
            requestBody.put("available", true);
            requestBody.put("sort_order", 0);
            createFileConfig(requestBody);
        }
    
        private static void createJob() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                    logger.warn("Failed to process shutdown task.", e);
                }
            });
        }
    
        /**
         * Gets the username of the current user.
         *
         * @return The username, or "guest" if not logged in.
         */
        public String getUsername() {
            return getRequestManager().findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(Constants.GUEST_USER);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigIntegerMath.java

         * guess with an application of Newton's method, which sets guess := (guess + (x / guess)) / 2.
         * This iteration has the following two properties:
         *
         * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is
         * because guess' is the arithmetic mean of guess and x / guess, sqrt(x) is the geometric mean,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/LongMath.java

            checkRoundingUnnecessary(guessSquared == x);
            return guess;
          case FLOOR:
          case DOWN:
            if (x < guessSquared) {
              return guess - 1;
            }
            return guess;
          case CEILING:
          case UP:
            if (x > guessSquared) {
              return guess + 1;
            }
            return guess;
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      // I guess it's technically a bug that ThrowIfUncheckedKnownUnchecked fires here.
      @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")
      public void testThrowIfUnchecked_null() {
        assertThrows(NullPointerException.class, () -> throwIfUnchecked(null));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/ITBase.java

                            + "\"}}\n{\"updatedTime\":1490250145200,\"updatedBy\":\"admin\",\"createdBy\":\"admin\",\"permissions\":[\"Radmin-api\",\"Rguest\"],\"name\":\"Admin API\",\"createdTime\":1490250145200,\"token\":\""
                            + DEFAULT_TEST_TOKEN + "\"}\n")
                    .when()
                    .post(getEsUrl() + "/_bulk");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                labelType = new LabelType();
                labelType.setName(name);
                labelType.setValue(name);
                labelType.setPermissions(new String[] { "Rguest" });
                labelType.setCreatedBy(Constants.SYSTEM_USER);
                labelType.setCreatedTime(now);
                labelType.setUpdatedBy(Constants.SYSTEM_USER);
                labelType.setUpdatedTime(now);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      // I guess it's technically a bug that ThrowIfUncheckedKnownUnchecked fires here.
      @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")
      public void testThrowIfUnchecked_null() {
        assertThrows(NullPointerException.class, () -> throwIfUnchecked(null));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

        // TODO(cpovirk): Consider using Object[] anyway.
        E[] array = (E[]) elements.toArray();
        /*
         * For a Set, we guess that it contains no duplicates. That's just a guess for purpose of
         * sizing; if the Set uses different equality semantics, it might contain duplicates according
         * to equals(), and we will deduplicate those properly, albeit at some cost in allocations.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
Back to top