Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 32 for IPC (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        }
    
        @Nested
        @DisplayName("Constructor behavior")
        class ConstructorTests {
    
            @ParameterizedTest
            @DisplayName("Accepts IPC$ URLs (happy path)")
            @ValueSource(strings = { "smb://server/IPC$/foo", "smb://server/IPC$/PIPE/foo" })
            void constructsWithIpcShare(String url) throws Exception {
                // Arrange & Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            data[15] = 0x00; // type = 0
            data[16] = 40;
            data[17] = 0;
            data[18] = 0;
            data[19] = 0; // remark offset
    
            // Entry 2: IPC$, type 3 (IPC), remark "Inter-Process Communication"
            System.arraycopy("IPC$".getBytes(StandardCharsets.US_ASCII), 0, data, 20, 4);
            data[34] = 0x03;
            data[35] = 0x00; // type = 3
            data[36] = 60;
            data[37] = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        void testReadDataWireFormatMultipleShares() throws Exception {
            int numShares = 3;
            String[] shareNames = { "SHARE1", "ADMIN$", "IPC$" };
            int[] shareTypes = { 0, 0x8000, 3 }; // Disk, Hidden flag (stored in 2 bytes), IPC
            String[] remarks = { "First share", "Admin share", "IPC share" };
    
            // Set converter and number of entries
            setConverter(response, 0);
            setNumEntries(response, numShares);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                makePipeUrlMethod.setAccessible(true);
                String result = (String) makePipeUrlMethod.invoke(handle);
    
                assertEquals("smb://server/IPC$/test", result);
            }
    
            @Test
            @DisplayName("Should generate correct pipe URL with server option")
            void testMakePipeUrl_WithServerOption() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

            }
    
            if (transport.getContext().getConfig().isIpcSigningEnforced() && ("IPC$".equals(this.getShare()) || "IPC".equals(rsvc))
                    && !sess.getCredentials().isAnonymous() && sess.getDigest() == null) {
                throw new SmbException("IPC signing is enforced, but no signing is available");
            }
    
            this.service = rsvc;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(session.getSmbTree(eq("IPC$"), isNull())).thenReturn(tree);
            when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree);
    
            doReturn(mockTransport).when(poolSpy).getSmbTransport(eq(ctx), eq(address), anyInt(), eq(false), anyBoolean());
    
            // When: Perform logon
            poolSpy.logon(ctx, address);
    
            // Then: Should connect to IPC$ share
            verify(tree).connectLogon(ctx);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/context/BaseContextTest.java

        void testGetPipeResourceWithValidURLs() throws CIFSException {
            // Test that valid pipe URLs can be created successfully
            String[] validPipeUrls = { "smb://server/IPC$/pipe", "smb://server/IPC$/pipe/svcctl" };
    
            for (String validUrl : validPipeUrls) {
                // When
                SmbPipeResource pipe = context.getPipe(validUrl, 0);
    
                // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbNamedPipe.java

     *
     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/PIPE/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_CALL, context);
     * </pre>
     *
     * </td>
     * <td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td>
     * </tr>
     * <tr>
     * <td >
     *
     * <pre>
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/config/SecurityConfigurationTest.java

         */
        @Test
        public void testSigningConfiguration() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify IPC signing is enforced (this is a security requirement)
            assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced());
        }
    
        /**
         * Test secure negotiation requirement for SMB3
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        }
    
        @Test
        void testSendWithDfsIpcService() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "IPC");
            tree.connectionState = 2; // Connected state
            tree.tid = 123;
            tree.inDfs = true;
    
            // Create request with path
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top