Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 379 for highest (0.17 seconds)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        /**
         * Clear all pending operations
         */
        public void clearPendingOperations() {
            pendingOperations.clear();
        }
    
        /**
         * Calculate channel score for load balancing (higher is better)
         *
         * @return channel score
         */
        public int getScore() {
            int score = 100;
    
            // Adjust based on state
            if (state == ChannelState.ACTIVE)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/security/index.md

    * `apiKey`: 다음에서 전달될 수 있는 애플리케이션 전용 키:
        * 쿼리 파라미터
        * 헤더
        * 쿠키
    * `http`: 표준 HTTP 인증 시스템, 예:
        * `bearer`: `Authorization` 헤더에 `Bearer ` + 토큰 값을 넣는 방식. OAuth2에서 유래했습니다.
        * HTTP Basic 인증
        * HTTP Digest 등
    * `oauth2`: 보안을 처리하는 모든 OAuth2 방식(이를 "flow"라고 부릅니다).
        * 이 flow들 중 여러 개는 OAuth 2.0 인증 제공자(예: Google, Facebook, X (Twitter), GitHub 등)를 구축하는 데 적합합니다:
            * `implicit`
            * `clientCredentials`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 16 11:54:01 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/advanced/security/http-basic-auth.md

    #### 「專業」的攻擊 { #a-professional-attack }
    
    當然,攻擊者不會手動嘗試這一切,他們會寫程式來做,可能每秒進行上千或上百萬次測試,一次只多猜中一個正確字母。
    
    但這樣做,幾分鐘或幾小時內,他們就能在我們應用程式「協助」下,僅靠回應時間就猜出正確的使用者名稱與密碼。
    
    #### 用 `secrets.compare_digest()` 修正 { #fix-it-with-secrets-compare-digest }
    
    但在我們的程式碼中實際使用的是 `secrets.compare_digest()`。
    
    簡而言之,將 `stanleyjobsox` 與 `stanleyjobson` 比較所花的時間,會與將 `johndoe` 與 `stanleyjobson` 比較所花的時間相同;密碼也一樣。
    
    如此一來,在應用程式程式碼中使用 `secrets.compare_digest()`,就能安全地防禦這整類的安全攻擊。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/security/index.md

    * `apiKey`:應用程式特定的金鑰,來源可以是:
        * 查詢參數。
        * 標頭(header)。
        * Cookie。
    * `http`:標準的 HTTP 驗證系統,包括:
        * `bearer`:使用 `Authorization` 標頭,值為 `Bearer ` 加上一個 token。這是從 OAuth2 延伸而來。
        * HTTP Basic 驗證。
        * HTTP Digest 等。
    * `oauth2`:所有 OAuth2 的安全性處理方式(稱為「flows」)。
        * 其中數個 flow 適合用來建立 OAuth 2.0 身分驗證提供者(如 Google、Facebook、X(Twitter)、GitHub 等):
            * `implicit`
            * `clientCredentials`
            * `authorizationCode`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        return localRouteSelector.hasNext()
      }
    
      /**
       * Return the route from [connection] if it should be retried, even if the connection itself is
       * unhealthy. The biggest gotcha here is that we shouldn't reuse routes from coalesced
       * connections.
       */
      private fun retryRoute(connection: RealConnection): Route? =
        connection.withLock {
          when {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/QueryTestBase.java

                public String getIndexFieldCreated() {
                    return "created";
                }
    
                @Override
                public String getIndexFieldDigest() {
                    return "digest";
                }
    
                @Override
                public String getIndexFieldThumbnail() {
                    return "thumbnail";
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/IndexExportJob.java

            }
        }
    
        private String hashString(final String input) {
            try {
                final MessageDigest md = MessageDigest.getInstance("SHA-256");
                final byte[] hash = md.digest(input.getBytes(StandardCharsets.UTF_8));
                final StringBuilder sb = new StringBuilder();
                for (final byte b : hash) {
                    sb.append(String.format("%02x", b));
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

         * @param scope cache scope
         * @return lease key
         */
        public Smb2LeaseKey requestDirectoryLease(String directoryPath, int requestedState, DirectoryCacheScope scope) {
            // Directory leasing requires SMB 3.0 or higher
            // MS-SMB2: Level 2 leasing (which includes directory leasing) is only supported in SMB 3.0+
            // We'll validate this when we actually need to use the session
    
            // Request base lease
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock.setOverrideTimeout(5000);
                assertEquals(5000, testBlock.getOverrideTimeout());
            }
    
            @Test
            @DisplayName("Test digest property")
            void testDigestProperty() {
                testBlock.setDigest(mockDigest);
                assertEquals(mockDigest, testBlock.getDigest());
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/SecureKeyManager.java

                byte[] hash = md.digest(input);
                System.arraycopy(hash, 0, derived, 0, Math.min(length, hash.length));
    
                // If we need more bytes, hash again with counter
                int counter = 1;
                while (derived.length > hash.length * counter) {
                    md.update(input);
                    md.update((byte) counter);
                    hash = md.digest();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
Back to Top