Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for Secure (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

        if (!pathMatch(url, path)) return false
    
        return !secure || url.isHttps
      }
    
      override fun equals(other: Any?): Boolean =
        other is Cookie &&
          other.name == name &&
          other.value == value &&
          other.expiresAt == expiresAt &&
          other.domain == domain &&
          other.path == path &&
          other.secure == secure &&
          other.httpOnly == httpOnly &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

          Arrays.asList(
            "a=b; Path=/c; Domain=example.com; Max-Age=5; Secure; HttpOnly",
            "a= ; Path=/c; Domain=example.com; Max-Age=5; Secure; HttpOnly",
            "a=b;          Domain=example.com; Max-Age=5; Secure; HttpOnly",
            "a=b; Path=/c;                     Max-Age=5; Secure; HttpOnly",
            "a=b; Path=/c; Domain=example.com;            Secure; HttpOnly",
            "a=b; Path=/c; Domain=example.com; Max-Age=5;         HttpOnly",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        }
    
        /**
         * Determines whether the user identification cookie should be marked as secure.
         * Checks the configured secure setting or examines request headers to detect HTTPS.
         *
         * @return true if the cookie should be secure, false otherwise
         */
        protected boolean isSecureCookie() {
            if (cookieSecure != null) {
                return cookieSecure;
    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. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

            .addHeader(
              "Set-Cookie: a=android; " +
                "expires=Fri, 31-Dec-9999 23:59:59 GMT; " +
                "path=/path; " +
                "domain=${urlWithIpAddress.host}; " +
                "secure",
            ).build(),
        )
        get(urlWithIpAddress)
        val cookies = cookieManager.cookieStore.cookies
        assertThat(cookies.size).isEqualTo(1)
        val cookie = cookies[0]
        assertThat(cookie.name).isEqualTo("a")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            DuplicateHost host2 = new DuplicateHost();
            host2.setRegularName("secure.example.com");
            host2.setDuplicateHostName("www.example.com");
            helper.duplicateHostList.add(host2);
    
            String url = "http://example.com/test";
            String result = helper.convert(url);
    
            assertEquals("http://secure.example.com/test", result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/annotation/Secured.java

     * @Secured({ "ROLE_ADMIN" })
     * public void delete(Contact contact);
     * </pre>
     */
    @Target({ ElementType.METHOD, ElementType.TYPE })
    @Retention(RetentionPolicy.RUNTIME)
    @Inherited
    @Documented
    public @interface Secured {
        /**
         * Returns the list of security configuration attributes (e.g.&nbsp;ROLE_USER, ROLE_ADMIN).
         *
         * @return String[] The secure method attributes
         */
        String[] value();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TlsVersion.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    /**
     * Versions of TLS that can be offered when negotiating a secure socket. See
     * [javax.net.ssl.SSLSocket.setEnabledProtocols].
     */
    enum class TlsVersion(
      @get:JvmName("javaName") val javaName: String,
    ) {
      TLS_1_3("TLSv1.3"), // 2016.
      TLS_1_2("TLSv1.2"), // 2008.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                            cookie.setHttpOnly(Constants.TRUE.equalsIgnoreCase(fessConfig.getCookieSearchParameterHttpOnly()));
                            final String secure = fessConfig.getCookieSearchParameterSecure();
                            if (StringUtil.isBlank(secure)) {
                                final String forwardedProto = req.getHeader("X-Forwarded-Proto");
                                if ("https".equalsIgnoreCase(forwardedProto)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @deprecated If you must interoperate with a system that requires MD5, then use this method,
       *     despite its deprecation. But if you can choose your hash function, avoid MD5, which is
       *     neither fast nor secure. As of January 2017, we suggest:
       *     <ul>
       *       <li>For security:
       *           {@link Hashing#sha256} or a higher-level API.
       *       <li>For speed: {@link Hashing#goodFastHash}, though see its docs for caveats.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

            .build()
    
        // An example test URL that returns client certificate details.
        val request =
          Request
            .Builder()
            .url("https://prod.idrix.eu/secure/")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top