- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 180 for setConfig (0.07 seconds)
-
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
*/ public Smb2SessionSetupRequest(final CIFSContext context, final int securityMode, final int capabilities, final long previousSessionid, final byte[] token) { super(context.getConfig(), SMB2_SESSION_SETUP); this.securityMode = securityMode; this.capabilities = capabilities; this.previousSessionId = previousSessionid; this.token = token; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
} } // Request new durable handle if configured if (context.getConfig().isUseDurableHandles()) { requestDurableHandle(); } // ... rest of normal connection logic ... } private void requestDurableHandle() { Configuration config = context.getConfig(); // Determine handle type based on configuration and server capabilitiesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/main/java/jcifs/context/BaseContext.java
public SmbTransportPool getTransportPool() { return this.transportPool; } /** * {@inheritDoc} * * @see jcifs.CIFSContext#getConfig() */ @Override public Configuration getConfig() { return this.config; } /** * {@inheritDoc} * * @see jcifs.CIFSContext#getDfs() */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
NameServiceClient mockNameServiceClient = mock(NameServiceClient.class); NetbiosAddress mockHost = mock(NetbiosAddress.class); when(mockContext.getConfig()).thenReturn(mockConfig); when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient); when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
@DisplayName("getters and basic state (happy path)") void testGettersAndState() { SmbSessionImpl session = newSession(); // Basic getters assertSame(configuration, session.getConfig(), "getConfig delegates to transportContext"); assertEquals("EXAMPLE", session.getTargetDomain()); assertEquals("server.example", session.getTargetHost());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/jcifs/SmbSession.java
*/ @Override void close(); /** * Returns the configuration object used by this SMB session. * * @return the configuration used by this session */ Configuration getConfig(); /** * Unwraps this session to the specified type, allowing access to implementation-specific functionality. * * @param <T> the type to unwrap toCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
*/ public SmbComTreeConnectAndX(final CIFSContext ctx, final ServerData server, final String path, final String service, final ServerMessageBlock andx) { super(ctx.getConfig(), SMB_COM_TREE_CONNECT_ANDX, andx); this.ctx = ctx; this.server = server; this.path = path; this.service = service; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
* environment. * * @param tc * context to use */ public Type1Message(final CIFSContext tc) { this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName()); } /** * Creates a Type-1 message with the specified parameters. * * @param tc * context to useCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
} // Exercise interaction with dependency for verification purposes // These methods do not throw and allow interaction checks. tc.getConfig(); tc.getCredentials(); // Minimal behavior: return a mock SSPContext with lenient stubbing SSPContext ctx = mock(SSPContext.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
private NameServiceClientImpl nameServiceClient; @BeforeEach void setUp() throws UnknownHostException { // Configure mock context with fast timeouts when(mockContext.getConfig()).thenReturn(mockConfig); // Setup configuration with minimal timeouts for fast testing when(mockConfig.getNetbiosSoTimeout()).thenReturn(100); // Very short timeoutCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0)