- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 328 for session1 (0.18 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
.build() val session = session(heldCertificate.certificatePem()) assertThat(verifier.verify("foo.com", session)).isFalse() assertThat(verifier.verify("bar.com", session)).isFalse() assertThat(verifier.verify("k.com", session)).isTrue() assertThat(verifier.verify("K.com", session)).isTrue() assertThat(verifier.verify("\u2121.com", session)).isFalse()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 40.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbSession.java
/** * Unwraps this session to the specified type, allowing access to implementation-specific functionality. * * @param <T> the type to unwrap to * @param type the class of the type to unwrap to * @return session instance with the given type */ <T extends SmbSession> T unwrap(Class<T> type); /** * Returns the CIFS context that this session is attached to. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K 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/test/java/jcifs/smb/SmbSessionInternalTest.java
byte[] key = new byte[] { 10, 20 }; when(session.getSessionKey()).thenReturn(key, new byte[0], null); assertArrayEquals(key, session.getSessionKey()); assertArrayEquals(new byte[0], session.getSessionKey()); assertNull(session.getSessionKey()); verify(session, times(3)).getSessionKey(); } // Error propagation: getSessionKey throws CIFSException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
initOauthSession(session); System.out.printf("session granted: %s\n", session); }); System.out.printf("open this URL in a browser: %s\n", authorizeUrl); } /** Set the OAuth session for this client. */ public synchronized void initOauthSession(OAuthSession session) { this.session = session; this.notifyAll(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// Given SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Add some trees SmbTreeImpl tree1 = session.getSmbTree("share1", null); SmbTreeImpl tree2 = session.getSmbTree("share2", null); assertNotNull(tree1); assertNotNull(tree2); // When - Release session to trigger cleanup session.release();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
* * @author mbechler * */ public class Smb2SessionSetupResponse extends ServerMessageBlock2Response { /** * Session flag indicating this is a guest session */ public static final int SMB2_SESSION_FLAGS_IS_GUEST = 0x1; /** * Session flag indicating this is a null/anonymous session */ public static final int SMB2_SESSION_FLAGS_IS_NULL = 0x2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { return transport.getNegotiateResponse().getSendBufferSize(); } } @Override public int getReceiveBufferSize() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
verify(treeConnection, times(2)).isConnected(); } @Test @DisplayName("getSession returns underlying session from tree connection") void getSessionReturnsUnderlying() { // Verifies getSession() exposes the session provided by the connection assertSame(session, handle.getSession()); verify(treeConnection).getSession(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)