- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for shouldForceSigning (0.81 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
} @Test @DisplayName("shouldForceSigning depends on config, creds, and IPC") 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 disabledRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} this.exclusiveTransport = this.ctx.getTransportPool() .getSmbTransport(this.ctx, host, loc.getPort(), true, loc.shouldForceSigning()) .unwrap(SmbTransportInternal.class); final SmbTransportInternal trans = this.exclusiveTransport;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
public URL getURL() { return this.url; } /** * * {@inheritDoc} * * @see jcifs.smb.SmbResourceLocatorInternal#shouldForceSigning() */ @Override public boolean shouldForceSigning() { return this.ctx.getConfig().isIpcSigningEnforced() && !this.ctx.getCredentials().isAnonymous() && isIPC(); } /** * {@inheritDoc} *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0)