Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 663 for SMB (0.01 sec)

  1. src/test/java/jcifs/context/BaseContextTest.java

        void testGetSmbResourceWithVariousURLs() throws CIFSException {
            // Test different valid URL formats
            String[] validUrls = { "smb://server/share/", "smb://server/share/file.txt", "smb://user:pass@server/share/file.txt",
                    "smb://domain;user:pass@server/share/file.txt" };
    
            for (String url : validUrls) {
                // When
                SmbResource resource = context.get(url);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/CIFSContextWrapperTest.java

    import jcifs.DfsResolver;
    import jcifs.NameServiceClient;
    import jcifs.SidResolver;
    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.smb.Handler;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    
    class CIFSContextWrapperTest {
    
        private CIFSContext mockDelegate;
        private Configuration mockConfiguration;
        private CIFSContextWrapper cifsContextWrapper;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Handler.java

            final String host = u.getHost();
            String path, ref;
            int port;
    
            if (spec.equals("smb://")) {
                spec = "smb:////";
                limit += 2;
            } else if (!spec.startsWith("smb://") && host != null && host.length() == 0) {
                spec = "//" + spec;
                limit += 2;
            }
            super.parseURL(u, spec, start, limit);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileFilter.java

     */
    
    package jcifs.smb;
    
    /**
     * Filter interface for SMB file filtering.
     *
     * This interface allows selective filtering of files
     * when listing directory contents in SMB shares.
     */
    public interface SmbFileFilter {
    
        /**
         * Tests whether the specified SMB file should be included in a file list.
         *
         * @param file the SMB file to test for inclusion
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NetworkExplorerTest.java

    import jakarta.servlet.http.HttpServletResponse;
    import jakarta.servlet.http.HttpSession;
    import jcifs.SmbResourceLocator;
    import jcifs.context.SingletonContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbFile;
    
    /**
     * Unit tests for the NetworkExplorer servlet.
     * Tests initialization, authentication handling, and servlet lifecycle.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

    package jcifs.internal.smb2.rdma;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB Direct Negotiate Response message.
     *
     * As per MS-SMBD 2.2.2 - SMB_DIRECT_NEGOTIATE_RESPONSE
     * This message is sent in response to negotiate SMB Direct protocol parameters.
     */
    public class SmbDirectNegotiateResponse {
    
        // Protocol constants
        /** SMB Direct negotiate response message type */
        public static final int NEGOTIATE_RESPONSE = 0x02;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            String s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.CheckDirectory");
    
            if (s != null) {
                batchLimits[0] = Byte.parseByte(s);
            }
            if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.CreateDirectory")) != null) {
                batchLimits[2] = Byte.parseByte(s);
            }
            if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.Delete")) != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            originalLmCompatibility = System.getProperty("jcifs.smb1.smb.lmCompatibility");
            // Set default for tests
            jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", "3");
        }
    
        @AfterAll
        static void tearDownClass() {
            // Restore original property
            if (originalLmCompatibility != null) {
                jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", originalLmCompatibility);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/PreauthIntegrityService.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.security.SecureRandom;
    import java.util.Arrays;
    import java.util.concurrent.ConcurrentHashMap;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/PathValidator.java

            if (!smbUrl.toLowerCase().startsWith("smb://")) {
                throw new SmbException("Invalid SMB URL format");
            }
    
            try {
                URL url = new URL(null, smbUrl, new jcifs.smb.Handler());
    
                // Validate host
                String host = url.getHost();
                if (host == null || host.isEmpty()) {
                    throw new SmbException("SMB URL missing host");
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top