- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 192 for get_config (4.81 sec)
-
src/main/java/jcifs/smb/SmbFile.java
} else { th.send(new SmbComDeleteDirectory(th.getConfig(), fileName), new SmbComBlankResponse(th.getConfig())); } } else if (th.isSMB2()) { final Smb2CreateRequest req = new Smb2CreateRequest(th.getConfig(), fileName.substring(1)); req.setDesiredAccess(0x10000); // delete
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
dstIndex += writeString(this.accountName, dst, dstIndex); dstIndex += writeString(this.primaryDomain, dst, dstIndex); } dstIndex += writeString(getConfig().getNativeOs(), dst, dstIndex); dstIndex += writeString(getConfig().getNativeLanman(), dst, dstIndex); return dstIndex - start; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
final boolean forceSigning) { this.transportContext = tc; this.signingEnforced = forceSigning || this.getContext().getConfig().isSigningEnforced(); this.sessionExpiration = System.currentTimeMillis() + tc.getConfig().getSessionTimeout(); this.address = address; this.port = port; this.localAddr = localAddr; this.localPort = localPort;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
CIFSContext context = SingletonContext.getInstance(); assertNotNull(context); assertEquals("CustomOS", context.getConfig().getNativeOs()); assertEquals("CustomLanman", context.getConfig().getNativeLanman()); } @Test void testInitAlreadyInitializedThrowsException() throws CIFSException { // Test attempting to initialize when already initialized
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
@DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate") void constructorAndSimpleDelegations() { // Ensures constructor acquires tree connection and simple delegate methods forward correctly // Verify constructor invoked acquire once verify(treeConnection, times(1)).acquire(); // getConfig delegates when(treeConnection.getConfig()).thenReturn(config);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
assertSame(transportPool, context.getTransportPool(), "Should return same instance on multiple calls"); } @Test @DisplayName("getConfig should return the provided configuration") void testGetConfig() { // When Configuration config = context.getConfig(); // Then assertSame(mockConfig, config, "Should return the same configuration instance"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} else { dh.send(new SmbComSetInformation(dh.getConfig(), dest.getUncPath(), attrs, mtime), new SmbComSetInformationResponse(dh.getConfig())); } } } catch (final IOException se) { if (!src.getContext().getConfig().isIgnoreCopyToException()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
final long ts) { if (!tc.getConfig().isEnforceSpnegoIntegrity() && serverAvPairs == null) { return null; } if (serverAvPairs == null) { serverAvPairs = new LinkedList<>(); } if (getFlag(NTLMSSP_NEGOTIATE_SIGN) && (tc.getConfig().isEnforceSpnegoIntegrity() || haveServerTimestamp && !tc.getConfig().isDisableSpnegoIntegrity())) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
verify(tc, never()).getConfig(); verifyNoInteractions(config); } @Test @DisplayName("createContext: Kerberos present but forceFallback triggers NTLM path") void createContext_forceFallback_triggersNtlmAndFailsOnNonNtlmToken() throws CIFSException { when(tc.getConfig()).thenReturn(config); when(config.isAllowNTLMFallback()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
return false; } if (!selected.atLeast(getConfig().getMinimumVersion()) || !selected.atMost(getConfig().getMaximumVersion())) { log.debug("Server selected an disallowed dialect version {} (min: {} max: {})", selected, getConfig().getMinimumVersion(), getConfig().getMaximumVersion()); return false; } this.selectedDialect = selected;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)