Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getServerWithDfs (0.09 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            void testGetServerWithDfs() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
                when(mockSmbResourceLocator.getServerWithDfs()).thenReturn("testServerDfs");
                assertEquals("testServerDfs", handle.getServerWithDfs());
            }
    
            @Test
            @DisplayName("Should return session key successfully")
            void testGetSessionKey() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

        }
    
        @Override
        public String getServer() {
            return this.pipe.getLocator().getServer();
        }
    
        @Override
        public String getServerWithDfs() {
            return this.pipe.getLocator().getServerWithDfs();
        }
    
        @Override
        public byte[] getSessionKey() throws CIFSException {
            return this.handle.getSessionKey();
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                canonicalizePath();
            }
            return this.share;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getServerWithDfs()
         */
        @Override
        public String getServerWithDfs() {
            if (this.dfsReferral != null) {
                return this.dfsReferral.getServer();
            }
            return getServer();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

                if (isConnected()) {
                    log.trace("Already connected");
                    return new SmbTreeHandleImpl(loc, this);
                }
    
                return connectHost(loc, loc.getServerWithDfs());
            }
    
        }
    
        /**
         * @return whether we have a valid tree connection
         */
        @SuppressWarnings("resource")
        public synchronized boolean isConnected() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                this.sessionKey = new byte[] { 1, 2, 3, 4 };
            }
    
            @Override
            public String getServer() {
                return server;
            }
    
            @Override
            public String getServerWithDfs() {
                return serverWithDfs;
            }
    
            @Override
            public CIFSContext getTransportContext() {
                return localTransportContext;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceLocatorTest.java

                return null;
            }
    
            @Override
            public String getShare() {
                return null;
            }
    
            @Override
            public String getServerWithDfs() {
                return null;
            }
    
            @Override
            public String getServer() {
                return null;
            }
    
            @Override
            public String getDfsPath() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

        private int shareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
        private SmbComBlankResponse blank_resp = null;
        private DfsReferral dfsReferral = null; // For getDfsPath() and getServerWithDfs()
    
        /**
         * DFS resolver instance
         */
        protected static Dfs dfs;
    
        NtlmPasswordAuthentication auth; // Cannot be null
        SmbTree tree = null; // Initially null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

         * return the target name.
         *
         * @return The server name
         */
        public String getServerWithDfs() {
            return this.fileLocator.getServerWithDfs();
        }
    
        /**
         * Retrieve the hostname of the server for this SMB resource. If this
         * <code>SmbFile</code> references a workgroup, the name of the workgroup
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResourceLocator.java

         * Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will
         * return the target name.
         *
         * @return The server name
         */
        String getServerWithDfs();
    
        /**
         * Retrieve the hostname of the server for this SMB resource. If this
         * <code>SmbFile</code> references a workgroup, the name of the workgroup
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        public abstract String getServer();
    
        /**
         * Gets the server hostname resolved through DFS (Distributed File System)
         * @return the server resolved by DFS
         */
        public abstract String getServerWithDfs();
    
        /**
         * Gets the CIFS context used for transport operations
         * @return the transport context used
         */
        public abstract CIFSContext getTransportContext();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top