- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 435 for share$ (0.06 sec)
-
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
for (int i = 0; i < opsPerThread; i++) { String share = "share" + (threadId % 3); // Use 3 different shares // Get or create tree SmbTreeImpl tree = session.getSmbTree(share, null); assertNotNull(tree, "Tree should not be null"); // Verify we can acquire the tree
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
// List shares String[] shares = server.list(); assertNotNull(shares, "Share list should not be null"); assertTrue(shares.length >= 2, "Should have at least 2 shares (public and shared)"); // Verify expected shares are present List<String> shareList = List.of(shares);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertTrue(tree.matches("testshare", "TESTSERVICE")); // Test matching share with null service assertTrue(tree.matches("testShare", null)); // Test matching share with service starting with "??" assertTrue(tree.matches("testShare", "??otherService")); // Test non-matching share assertFalse(tree.matches("otherShare", "testService")); // Test non-matching service
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
testImplementation.setFullUNCPath(expectedDomain, "server", "\\\\server\\share\\path"); assertEquals(expectedDomain, testImplementation.getDomain()); } @Test @DisplayName("Test getFullUNCPath returns complete UNC path") void testGetFullUNCPath() { // Test with mock String expectedUNCPath = "\\\\server\\share\\folder\\file.txt";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java
import jcifs.internal.dtyp.SecurityDescriptor; /** * MSRPC implementation for retrieving share information. * This class provides functionality to get detailed information about * a specific share using the Server Service RPC interface. */ public class MsrpcShareGetInfo extends srvsvc.ShareGetInfo { /** * Creates a new request to get share information. * * @param server the server name
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
} } /** * Validates share name * * @param share the share name to validate * @throws IllegalArgumentException if share name is invalid */ public static void validateShareName(String share) { if (share == null || share.isEmpty()) { throw new IllegalArgumentException("Share name cannot be null or empty"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
} @ParameterizedTest @DisplayName("Test valid share names") @ValueSource(strings = { "share", "share$", "SHARE", "share123", "share-name", "share_name", "share.name" }) void testValidShareNames(String share) { assertDoesNotThrow(() -> InputValidator.validateShareName(share)); } @Test @DisplayName("Test port validation") void testPortValidation() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(path, entryByPath.getPath()); } @Test @DisplayName("Should release all leases") void testReleaseAll() { String path1 = "/share/file1.txt"; String path2 = "/share/file2.txt"; Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
*/ SmbTransport getTransport(); /** * Connect to the logon share * * @throws SmbException if the connection fails */ void treeConnectLogon() throws SmbException; /** * Gets or creates an SMB tree connection for the specified share and service. * * @param share the share name to connect to * @param service the service type for the connection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0)