- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for isIpcSigningEnforced (1.76 sec)
-
src/test/java/jcifs/smb/SmbTreeImplTest.java
when(response.isValidTid()).thenReturn(true); when(response.getTid()).thenReturn(1); when(session.send(any(), any())).thenReturn(response); when(config.isIpcSigningEnforced()).thenReturn(false); SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); tree.treeConnect(null, null); assertTrue(tree.isConnected());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
void testShouldForceSigning() { when(config.isIpcSigningEnforced()).thenReturn(true); when(creds.isAnonymous()).thenReturn(false); // Case 1: share is IPC$ -> IPC SmbResourceLocatorImpl ipc = locator("smb://server/IPC$/"); assertTrue(ipc.shouldForceSigning()); // Case 2: config disabled when(config.isIpcSigningEnforced()).thenReturn(false);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/ConfigurationTest.java
mockConfig.getLocalTimezone(); mockConfig.getPid(); mockConfig.getMaxMpxCount(); mockConfig.isSigningEnabled(); mockConfig.isIpcSigningEnforced(); mockConfig.isSigningEnforced(); mockConfig.isEncryptionEnabled(); mockConfig.isForceExtendedSecurity(); mockConfig.getLmHostsFileName();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
BaseConfiguration config = new BaseConfiguration(true); // Verify IPC signing is enforced (this is a security requirement) assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced()); } /** * Test secure negotiation requirement for SMB3 */ @Test public void testSecureNegotiateRequired() throws CIFSException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.isSigningEnforced(); } /** * {@inheritDoc} * * @see jcifs.Configuration#isIpcSigningEnforced() */ @Override public boolean isIpcSigningEnforced() { return this.delegate.isIpcSigningEnforced(); } /** * {@inheritDoc} * * @see jcifs.Configuration#isEncryptionEnabled() */ @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
when(mockDelegate.isEncryptionEnabled()).thenReturn(true); when(mockDelegate.isSigningEnabled()).thenReturn(false); when(mockDelegate.isSigningEnforced()).thenReturn(true); when(mockDelegate.isIpcSigningEnforced()).thenReturn(true); when(mockDelegate.isForceExtendedSecurity()).thenReturn(true).thenReturn(false); // When boolean encryptionEnabled = delegatingConfig.isEncryptionEnabled();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
try (SmbTransportInternal trans = tf.getTransportPool() .getSmbTransport(tf, dc, port, false, !tf.getCredentials().isAnonymous() && tf.getConfig().isIpcSigningEnforced()) .unwrap(SmbTransportInternal.class)) { trans.ensureConnected(); return trans.getServerEncryptionKey(); } catch (final SmbException e) { throw e;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(config.getLocalPort()).thenReturn(0); when(config.getSessionLimit()).thenReturn(10); when(config.isSigningEnforced()).thenReturn(false); when(config.isIpcSigningEnforced()).thenReturn(true); when(config.getLogonShare()).thenReturn("IPC$"); // Default address values when(address.getHostName()).thenReturn("test.host");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
final UniAddress dc = new UniAddress(addr); try (SmbTransportInternal trans = tf.getTransportPool() .getSmbTransport(tf, dc, 0, false, tf.hasDefaultCredentials() && tf.getConfig().isIpcSigningEnforced()) .unwrap(SmbTransportInternal.class)) { if (!tf.hasDefaultCredentials()) { trans.ensureConnected(); log.warn("""
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
final String rsvc = response.getService(); if (rsvc == null && !transport.isSMB2()) { throw new SmbException("Service is NULL"); } if (transport.getContext().getConfig().isIpcSigningEnforced() && ("IPC$".equals(this.getShare()) || "IPC".equals(rsvc)) && !sess.getCredentials().isAnonymous() && sess.getDigest() == null) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0)