Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isIPC (0.05 sec)

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

            inOrder.verify(creds, atLeastOnce()).isAnonymous();
        }
    
        @Test
        @DisplayName("isIPC is true for IPC$ or no share")
        void testIsIpc() {
            assertTrue(locator("smb://server/IPC$/").isIPC());
            assertTrue(locator("smb://server/").isIPC());
            assertFalse(locator("smb://server/share/").isIPC());
        }
    
        @Test
        @DisplayName("Type detection covers filesystem/share/IPC/workgroup/server")
    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

        public boolean shouldForceSigning() {
            return this.ctx.getConfig().isIpcSigningEnforced() && !this.ctx.getCredentials().isAnonymous() && isIPC();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#isIPC()
         */
        @Override
        public boolean isIPC() {
            final String shr = this.getShare();
            if (shr == null || "IPC$".equals(getShare())) {
    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/SmbResourceLocatorTest.java

                    return null;
                }
            }
    
            @Override
            public Address getAddress() {
                return null;
            }
    
            @Override
            public boolean isIPC() {
                return false;
            }
    
            @Override
            public int getType() {
                return 0;
            }
    
            @Override
            public boolean isWorkgroup() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbNamedPipe.java

            super(url, tc);
            this.pipeType = pipeType;
            setNonPooled(unshared);
            if (!getLocator().isIPC()) {
                throw new MalformedURLException("Named pipes are only valid on IPC$");
            }
            this.fileLocator.updateType(TYPE_NAMED_PIPE);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResourceLocator.java

        /**
         * Determines whether this resource represents an IPC (Inter-Process Communication) connection.
         *
         * @return whether this is a IPC connection
         */
        boolean isIPC();
    
        /**
         * Returns type of of object this <code>SmbFile</code> represents.
         *
         * @return <code>TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                final SmbTransportInternal trans, final SmbTreeImpl t, final DfsReferralData referral) throws CIFSException {
            if (log.isDebugEnabled() && trans.isSigningOptional() && !loc.isIPC() && !this.ctx.getConfig().isSigningEnforced()) {
                log.debug("Signatures for file enabled but not required " + this);
            }
    
            if (referral != null) {
                t.markDomainDfs();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
Back to top