Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setMaxAge (0.03 sec)

  1. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            assertEquals("cookie", roleQueryHelper.cookieKey);
    
            roleQueryHelper.setEncryptedCookieValue(false);
            assertFalse(roleQueryHelper.encryptedCookieValue);
    
            roleQueryHelper.setMaxAge(300);
            assertEquals(300, roleQueryHelper.maxAge);
        }
    
        public void test_init() {
            final RoleQueryHelper roleQueryHelper = new RoleQueryHelper();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                            if (StringUtil.isNotBlank(path)) {
                                cookie.setPath(path);
                            }
                            cookie.setMaxAge(fessConfig.getCookieSearchParameterMaxAgeAsInteger());
                            cookie.setAttribute("SameSite", fessConfig.getCookieSearchParameterSameSite());
                            res.addCookie(cookie);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

         * @param age the maximum age of the cookie in seconds
         */
        protected void updateCookie(final String userCode, final int age) {
            final Cookie cookie = new Cookie(cookieName, userCode);
            cookie.setMaxAge(age);
            cookie.setHttpOnly(httpOnly);
            if (StringUtil.isNotBlank(cookieDomain)) {
                cookie.setDomain(cookieDomain);
            }
            if (StringUtil.isNotBlank(cookiePath)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

        }
    
        /**
         * Sets the maximum age of the role information in seconds.
         * @param maxAge The maximum age of the role information in seconds.
         */
        public void setMaxAge(final long maxAge) {
            this.maxAge = maxAge;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top