Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for SmbResourceLocator (0.08 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        void testResolveInContext() {
            // Context without share: first element becomes share, rest path
            SmbResourceLocatorImpl base = locator("smb://server/");
            SmbResourceLocator context = mock(SmbResourceLocator.class);
            when(context.getShare()).thenReturn(null);
            when(context.getServer()).thenReturn("server");
            when(context.getURLPath()).thenReturn("/");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getDfsReferral()
         */
        @Override
        public DfsReferralData getDfsReferral() {
            return this.dfsReferral;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getName()
         */
    
        @Override
        public String getName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                // Arrange: mock parent + locator so no real network is used
                SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
                SmbResourceLocator locator = mock(SmbResourceLocator.class);
                when(parent.getLocator()).thenReturn(locator);
                // Host is empty -> triggers master browser path
                URL anyUrlWithEmptyHost = new URL("file:/");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                throws MalformedURLException, DcerpcException {
            return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()),
                    ctx);
        }
    
        static FileEntry[] doDfsRootEnum(final CIFSContext ctx, final SmbResourceLocator loc, final Address address) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    
    /**
     * Unit tests for NetServerEnumIterator.
     * Tests focus on constructor validation and basic iterator contract.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class NetServerEnumIteratorTest {
    
        @Mock
        private SmbResourceLocator locator;
        @Mock
        private SmbTreeHandleImpl treeHandle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                        return tr.acquire();
                    }
                }
    
            }
        }
    
        SmbResourceLocator ensureDFSResolved(final SmbResourceLocatorImpl loc) throws CIFSException {
            return ensureDFSResolved(loc, null);
        }
    
        SmbResourceLocator ensureDFSResolved(final SmbResourceLocatorImpl loc, final RequestWithPath request) throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    import jcifs.internal.smb1.com.SmbComFindClose2;
    import jcifs.internal.smb1.trans2.Trans2FindFirst2;
    import jcifs.internal.smb1.trans2.Trans2FindFirst2Response;
    import jcifs.internal.smb1.trans2.Trans2FindNext2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    import jcifs.internal.Request;
    import jcifs.internal.smb2.create.Smb2CloseRequest;
    import jcifs.internal.smb2.create.Smb2CreateRequest;
    import jcifs.internal.smb2.create.Smb2CreateResponse;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NetworkExplorerTest.java

    import jakarta.servlet.WriteListener;
    import jakarta.servlet.http.HttpServletRequest;
    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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.BufferCache;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SmbPipeHandle;
    import jcifs.SmbPipeResource;
    import jcifs.SmbResourceLocator;
    import jcifs.smb.SmbNamedPipe;
    import jcifs.smb.SmbPipeHandleInternal;
    import jcifs.util.Encdec;
    
    /**
     * Test class for DcerpcPipeHandle
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top