Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for cookie (0.03 sec)

  1. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

         * @param request The HTTP request.
         * @param roleSet The set of roles.
         */
        protected void buildByCookieNameMapping(final HttpServletRequest request, final Set<String> roleSet) {
            final Cookie[] cookies = request.getCookies();
            if (cookies != null) {
                for (final Cookie cookie : cookies) {
                    addRoleFromCookieMapping(roleSet, cookie);
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun cookie() {
        val cookie: Cookie = Cookie.Builder().build()
        val name: String = cookie.name
        val value: String = cookie.value
        val persistent: Boolean = cookie.persistent
        val expiresAt: Long = cookie.expiresAt
        val hostOnly: Boolean = cookie.hostOnly
        val domain: String = cookie.domain
        val path: String = cookie.path
        val httpOnly: Boolean = cookie.httpOnly
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            roleQueryHelper.addCookieNameMapping("admin", "administrator");
            roleQueryHelper.addCookieNameMapping("user", "regular_user");
    
            Cookie adminCookie = new Cookie("admin", "true");
            Cookie userCookie = new Cookie("user", "true");
            Cookie otherCookie = new Cookie("other", "value");
            getMockRequest().addCookie(adminCookie);
            getMockRequest().addCookie(userCookie);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

        }
    
        return responseBuilder.build()
      }
    
      /** Returns a 'Cookie' HTTP request header with all cookies, like `a=b; c=d`. */
      private fun cookieHeader(cookies: List<Cookie>): String =
        buildString {
          cookies.forEachIndexed { index, cookie ->
            if (index > 0) append("; ")
            append(cookie.name).append('=').append(cookie.value)
          }
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

      }
    
      @Test @Disabled
      fun cookie() {
        val cookie: Cookie = Cookie.Builder().build()
        val name: String = cookie.name()
        val value: String = cookie.value()
        val persistent: Boolean = cookie.persistent()
        val expiresAt: Long = cookie.expiresAt()
        val hostOnly: Boolean = cookie.hostOnly()
        val domain: String = cookie.domain()
        val path: String = cookie.path()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

            .add("proxy-authorization", "chocolate")
            .add("cookie", "drink=coffee")
            .add("set-cookie", "accessory=sugar")
            .add("user-agent", "OkHttp")
            .build()
        assertThat(headers.toString()).isEqualTo(
          """
          |content-length: 99
          |authorization: ██
          |proxy-authorization: ██
          |cookie: ██
          |set-cookie: ██
          |user-agent: OkHttp
          |
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

          Headers
            .Builder()
            .add("content-length", "99")
            .add("authorization", "peanutbutter")
            .add("proxy-authorization", "chocolate")
            .add("cookie", "drink=coffee")
            .add("set-cookie", "accessory=sugar")
            .add("user-agent", "OkHttp")
            .build()
        val request =
          Request(
            "https://square.com".toHttpUrl(),
            headers,
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/resources/fess_config.properties

    cookie.search.parameter.http_only=true
    # Whether to set Secure attribute to the search parameter cookie. Should be true in production environments using HTTPS.
    cookie.search.parameter.secure=
    # Max-Age (in seconds) for the search parameter cookie. Use -1 for session-only cookies.
    cookie.search.parameter.max_age=60
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/README.md

    the potential to leak sensitive information such as "Authorization" or "Cookie" headers and the
    contents of request and response bodies. This data should only be logged in a controlled way or in
    a non-production environment.
    
    You can redact headers that may contain sensitive information by calling `redactHeader()`.
    ```java
    logging.redactHeader("Authorization");
    logging.redactHeader("Cookie");
    ```
    
    Download
    --------
    
    ```kotlin
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            assertEquals(Integer.valueOf(3600), defaultExpire);
        }
    
        // Test cookie cipher
        public void test_provideCookieCipher() {
            // provideCookieCipher is not directly exposed anymore
            // Testing through cookie spec creation instead
            // CookieSpec is not directly available for testing
            assertNotNull(cookieResourceProvider);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top