- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for sessions (0.03 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Simulate session already in use by adding a session Field sessionsField = SmbTransportImpl.class.getDeclaredField("sessions"); sessionsField.setAccessible(true); @SuppressWarnings("unchecked") List<Object> sessions = (List<Object>) sessionsField.get(first); sessions.add(new Object()); // Add one session to reach the limit
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* @return whether multi-channel is enabled */ boolean isUseMultiChannel(); /** * Maximum number of channels per session * * Property {@code jcifs.smb.client.maxChannels} (int, default 4) * * @return maximum channels per session */ int getMaxChannels(); /** * Channel binding policy *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Connection timeout in milliseconds for establishing SMB connections */ protected int smbConnectionTimeout = SmbConstants.DEFAULT_CONN_TIMEOUT; /** Session timeout in milliseconds for SMB sessions */ protected int smbSessionTimeout = SmbConstants.DEFAULT_SO_TIMEOUT; /** Whether idle timeout is disabled for connections */ protected boolean idleTimeoutDisabled = false;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
} log.info("Created {} channels for session {}", channelGroup.getChannelCount(), sessionId); return channelGroup; } catch (Exception e) { sessionChannels.remove(sessionId); throw new CIFSException("Failed to create channels for session " + sessionId, e); } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
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) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} /** * @return this session's UID */ public int getUid() { return this.uid; } /** * @return this session's expiration time */ public Long getExpiration() { return this.expiration > 0 ? this.expiration : null; } /** * @return this session's credentials */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
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) -
gradle/libs.versions.toml
[versions] agp = "8.12.2" biz-aQute-bnd = "7.1.0" checkStyle = "11.0.1" com-squareup-moshi = "1.15.2" com-squareup-okio = "3.16.0" de-mannodermaus-junit5 = "1.8.0" graalvm = "24.2.2" #noinspection UnusedVersionCatalogEntry junit-platform = "1.13.4" kotlinx-serialization = "1.9.0" ksp = "2.2.10-2.0.2" lintGradle = "1.0.0-alpha05" mockserverClient = "5.15.0" org-bouncycastle = "1.81" org-conscrypt = "2.5.2"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 31 17:41:20 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
PreauthIntegrityContext context = sessionContexts.get(sessionId); if (context == null) { if (enforceIntegrity) { throw new CIFSException("No preauth integrity context found for session: " + sessionId); } log.warn("No preauth integrity context for session {}, skipping validation", sessionId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
Arrays.fill(this.password, '\0'); this.password = null; } // Also remove from secure key manager if we have a session if (this.sessionId != null) { keyManager.removeSessionKey(this.sessionId); this.sessionId = null; } } /** * Check if the authentication has expired based on TTL *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0)