- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for isIpcSigningEnforced (0.12 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24.1K bytes - Click Count (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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (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("""
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.3K bytes - Click Count (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) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
* * {@inheritDoc} * * @see jcifs.smb.SmbResourceLocatorInternal#shouldForceSigning() */ @Override public boolean shouldForceSigning() { return this.ctx.getConfig().isIpcSigningEnforced() && !this.ctx.getCredentials().isAnonymous() && isIPC(); } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#isIPC() */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
/** * * Property {@code jcifs.smb.client.ipcSigningEnforced} (boolean, default true) * * @return whether to enforce SMB signing for IPC connections */ boolean isIpcSigningEnforced(); /** * * Property {@code jcifs.smb.client.signingEnforced} (boolean, default false) * * @return whether to enforce SMB signing (for everything) */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/DfsImpl.java
!tf.getCredentials().isAnonymous() && tf.getConfig().isSigningEnabled() && tf.getConfig().isIpcSigningEnforced()) .unwrap(SmbTransportImpl.class); transport.ensureConnected(); return transport;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 29.7K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
return this.signingPreferred; } @Override public boolean isSigningEnforced() { return this.signingEnforced; } @Override public boolean isIpcSigningEnforced() { return this.ipcSigningEnforced; } @Override public boolean isEncryptionEnabled() { return this.encryptionEnabled; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0)