Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for sessionId (0.23 sec)

  1. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

        @Test
        @DisplayName("Test session finalization")
        public void testSessionFinalization() throws CIFSException {
            String sessionId = "test-session-4";
            byte[] salt = preauthService.generatePreauthSalt();
    
            preauthService.initializeSession(sessionId, salt, PreauthIntegrityService.HASH_ALGO_SHA512);
            assertNotNull(preauthService.getCurrentPreauthHash(sessionId));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureKeyManager.java

        /**
         * Get the current version of a session key
         *
         * @param sessionId the session ID
         * @return the key version, or 0 if not versioned
         */
        public int getKeyVersion(String sessionId) {
            return keyVersions.getOrDefault(sessionId, 0);
        }
    
        /**
         * Get key age in milliseconds
         *
         * @param sessionId the session ID
         * @return age in milliseconds, or -1 if unknown
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler2.getCrawlerContext().setNumOfThread(numOfThread);
    
                final String sessionId1 = crawler1.execute();
                final String sessionId2 = crawler2.execute();
    
                assertNotSame(sessionId1, sessionId2);
                assertNotSame(crawler1.crawlerContext, crawler2.crawlerContext);
    
                // Wait for both crawlers to start with polling
    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. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

        /**
         * Test multiple initializations with same session ID
         */
        public void test_multipleInit_sameSessionId() {
            String sessionId = "test-session-017";
    
            // First initialization
            urlFilter.init(sessionId);
            urlFilter.addInclude("https://first.com/.*");
    
            // Second initialization with same session ID
            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)
  5. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

        }
    
        /**
         * Gets the session ID associated with this encrypted message
         *
         * @return the session ID
         */
        public long getSessionId() {
            return this.sessionId;
        }
    
        /**
         * Sets the session ID for this encrypted message
         *
         * @param sessionId
         *            the session ID to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler2.getCrawlerContext().setNumOfThread(numOfThread);
    
                final String sessionId1 = crawler1.execute();
                final String sessionId2 = crawler2.execute();
    
                assertNotSame(sessionId1, sessionId2);
                assertNotSame(crawler1.crawlerContext, crawler2.crawlerContext);
    
                // Wait for both crawlers to start with polling
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. 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)
  8. README.md

    crawler1.setSessionId("session1");
    crawler1.addUrl("https://site1.com");
    
    Crawler crawler2 = container.getComponent("crawler");  
    crawler2.setSessionId("session2");
    crawler2.addUrl("https://site2.com");
    
    // Execute concurrently
    crawler1.setBackground(true);
    crawler2.setBackground(true);
    
    String sessionId1 = crawler1.execute();
    String sessionId2 = crawler2.execute();
    
    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/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";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler2.getCrawlerContext().setNumOfThread(numOfThread);
    
                final String sessionId1 = crawler1.execute();
                final String sessionId2 = crawler2.execute();
    
                assertNotSame(sessionId1, sessionId2);
                assertNotSame(crawler1.crawlerContext, crawler2.crawlerContext);
    
                for (int i = 0; i < 100; i++) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top