Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for SessionId (0.14 sec)

  1. src/main/java/jcifs/util/SecureKeyManager.java

            // Store in memory
            sessionKeys.put(sessionId, secretKey);
            rawKeys.put(sessionId, keyClone);
    
            // Track creation time for rotation (only for non-archived keys)
            if (!sessionId.contains(".v")) {
                keyCreationTimes.put(sessionId, System.currentTimeMillis());
                keyVersions.putIfAbsent(sessionId, 0);
            }
    
            // Optionally store in KeyStore
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

        public void test_processUrl_emptyUrl() {
            String sessionId = "test-session-014";
            urlFilter.init(sessionId);
    
            urlFilter.processUrl("");
            // Should handle empty URL gracefully
            assertNotNull(urlFilter);
        }
    
        /**
         * Test clear method
         */
        public void test_clear() {
            String sessionId = "test-session-015";
            urlFilter.init(sessionId);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler.crawlerContext.setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
                dataService.delete(sessionId);
            } finally {
                server.stop();
            }
        }
    
        public void test_execute_xmlSitemaps() throws Exception {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

         */
        public long getSessionId() {
            return this.sessionId;
        }
    
        /**
         * Sets the session ID for this encrypted message
         *
         * @param sessionId
         *            the session ID to set
         */
        public void setSessionId(final long sessionId) {
            this.sessionId = sessionId;
        }
    
        @Override
        public int size() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            preauthService.initializeSession(sessionId, salt, PreauthIntegrityService.HASH_ALGO_SHA512);
    
            // Simulate message exchange
            preauthService.updatePreauthHash(sessionId, "Message1".getBytes());
            preauthService.updatePreauthHash(sessionId, "Message2".getBytes());
    
            byte[] expectedHash = preauthService.getCurrentPreauthHash(sessionId);
    
            // Validation should pass with correct hash
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            // Generate unique session ID for key management
            this.sessionId = String.format("smb-enc-%d-%d", System.currentTimeMillis(), secureRandom.nextLong());
    
            if (keyManager != null) {
                // Store keys securely
                String encKeyId = sessionId + "-enc";
                String decKeyId = sessionId + "-dec";
                keyManager.storeSessionKey(encKeyId, encryptionKey, "AES");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/audit/SecurityAuditLogger.java

            context.put("thread", Thread.currentThread().getName());
            context.put("threadId", Thread.currentThread().getId());
    
            String sessionId = MDC.get("sessionId");
            if (sessionId != null) {
                context.put("sessionId", sessionId);
            }
            String userId = MDC.get("userId");
            if (userId != null) {
                context.put("userId", userId);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. README.md

            crawler.crawlerContext.setNumOfThread(5);
            crawler.urlFilter.addInclude("https://example.com/.*");
            
            // Execute crawling
            String sessionId = crawler.execute();
            System.out.println("Crawling completed. Session ID: " + sessionId);
        }
    }
    ```
    
    ### File System Crawling
    
    ```java
    import org.codelibs.fess.crawler.client.fs.FileSystemClient;
    
    // Configure for file system crawling
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertArrayEquals(testKey, rawKey2, "Should still match original");
        }
    
        @Test
        public void testRemoveSessionKey() {
            String sessionId = "test-session-3";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            assertTrue(keyManager.hasSessionKey(sessionId), "Key should exist");
    
            keyManager.removeSessionKey(sessionId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/PreauthIntegrityService.java

            sessionContexts.put(sessionId, context);
    
            log.debug("Initialized preauth integrity context for session {}", sessionId);
            return context;
        }
    
        /**
         * Updates the preauth integrity hash with a new message.
         *
         * @param sessionId the session identifier
         * @param messageData the message data to include in hash
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top