- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for smbUrl (0.05 seconds)
-
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
f.set(c, val); } catch (Exception e) { throw new AssertionError(e); } } // Helper to build a minimal smb URL private static URL smbUrl(String spec) throws Exception { return new URL(null, spec, new Handler()); } @Test @DisplayName("getConfig returns context config") void getConfig_returnsConfig() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/util/PathValidator.java
return normalized; } /** * Validate an SMB URL * * @param smbUrl the SMB URL to validate * @return normalized safe URL * @throws SmbException if URL is invalid */ public String validateSmbUrl(String smbUrl) throws SmbException { if (smbUrl == null || smbUrl.isEmpty()) { throw new SmbException("SMB URL cannot be null or empty"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
} private static URL smbUrl(String spec) { try { return new URL(null, spec, SMB_HANDLER); } catch (Exception e) { throw new AssertionError(e); } } private SmbResourceLocatorImpl locator(String spec) { return new SmbResourceLocatorImpl(ctx, smbUrl(spec)); } @TestCreated: 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/smb/SmbTreeConnectionTraceTest.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; @ExtendWith(MockitoExtension.class) class SmbTreeConnectionTraceTest { // Helper to build a minimal smb URL private static URL smbUrl(String spec) { try { return new URL(null, spec, new Handler()); } catch (MalformedURLException e) { throw new AssertionError("Failed to create SMB URL: " + spec, e); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\ // Create URL with registered handler URL smbUrl = new URL("smb://server/share/dir/"); lenient().when(locator.getURL()).thenReturn(smbUrl); } // Helper: reflectively set private/protected field on an object private static void setField(Object target, Class<?> declaring, String name, Object value) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
} } } if (logger.isDebugEnabled()) { logger.debug("smbUrl:{} roleType:{}", responseData.getUrl(), roleTypeList); } } else if (responseData.getUrl().startsWith("smb1:")) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 15.4K bytes - Click Count (0)