- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 328 for session1 (0.03 sec)
-
src/test/java/jcifs/http/NetworkExplorerTest.java
// Setup request session lenient().when(request.getSession()).thenReturn(session); lenient().when(request.getSession(false)).thenReturn(session); lenient().when(request.getSession(true)).thenReturn(session); // Setup default session attribute behavior lenient().when(session.getAttribute(anyString())).thenReturn(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
} // Happy path: session retrieval by context @Test @DisplayName("getSmbSession(ctx) returns a session and verifies argument") void getSmbSession_byContext() { when(transport.getSmbSession(any(jcifs.CIFSContext.class))).thenReturn(session); SmbSession result = transport.getSmbSession(ctx); assertSame(session, result); verify(transport).getSmbSession(eq(ctx));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
private final int maxChannels; private final AtomicInteger channelCounter; public ChannelManager(CIFSContext context, SmbSession session) { this.context = context; this.session = session; this.channels = new ConcurrentHashMap<>(); this.localInterfaces = new ArrayList<>(); this.remoteInterfaces = new ArrayList<>();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
if (Objects.equals(loc.getShare(), t.getShare())) { try (SmbSessionImpl session = t.getSession()) { targetDomain = session.getTargetDomain(); if (!session.isFailed()) { try (SmbTransportImpl trans = session.getTransport(); SmbTreeImpl ct = connectTree(loc, host, t.getShare(), trans, t, null)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
*/ package jcifs.netbios; import java.io.IOException; import java.io.InputStream; import jcifs.Configuration; import jcifs.NetbiosName; /** * NetBIOS session request packet implementation. * This packet is used to initiate NetBIOS session connections. */ public class SessionRequestPacket extends SessionServicePacket { private final Name calledName, callingName;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
when(request.getSession()).thenReturn(session); ntlmServlet.service(request, response); // Verify that user information is stored in the session verify(session).setAttribute("NtlmHttpAuth", ntlmAuth); verify(session).setAttribute("ntlmuser", "user"); verify(session).setAttribute("ntlmdomain", "TEST_DOMAIN");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
import java.io.IOException; import java.io.InputStream; /** * Abstract base class for NetBIOS session service packets. * This class provides common functionality for session layer communication. */ public abstract class SessionServicePacket { /** * Default constructor for SessionServicePacket. * Creates a new session service packet instance. */ public SessionServicePacket() { // Default constructor
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
SmbTreeImpl(final SmbSessionImpl session, final String share, final String service) { this.session = session.acquire(); this.share = share.toUpperCase(); if (service != null && !service.startsWith("??")) { this.service = service; } this.service0 = this.service; this.traceResource = this.session.getConfig().isTraceResourceUsage();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtException.java
/** Called name not present */ public static final int CALLED_NOT_PRESENT = 0x82; /** Insufficient resources to establish session */ public static final int NO_RESOURCES = 0x83; /** Unspecified session service error */ public static final int UNSPECIFIED = 0x8F; /** The NetBIOS error class */ public int errorClass; /** The NetBIOS error code */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
when(session.acquire()).thenReturn(session); when(config.isTraceResourceUsage()).thenReturn(false); when(context.getConfig()).thenReturn(config); when(session.isConnected()).thenReturn(true); } // Test case for the constructor of SmbTreeImpl @Test void testSmbTreeImplConstructor() { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0)