Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getNameServiceClient (0.52 sec)

  1. src/test/java/jcifs/CIFSContextTest.java

            NameServiceClient mockClient = mock(NameServiceClient.class);
            when(mockContext.getNameServiceClient()).thenReturn(mockClient);
    
            // When
            NameServiceClient client = mockContext.getNameServiceClient();
    
            // Then
            assertEquals(mockClient, client);
            verify(mockContext).getNameServiceClient();
        }
    
        @Test
        @DisplayName("Should get BufferCache")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/CIFSContextWrapper.java

            return this.delegate.renewCredentials(locationHint, error);
        }
    
        @Override
        public NameServiceClient getNameServiceClient() {
            return this.delegate.getNameServiceClient();
        }
    
        @Override
        public BufferCache getBufferCache() {
            return this.delegate.getBufferCache();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/BaseContext.java

        @Override
        public DfsResolver getDfs() {
            return this.dfs;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getNameServiceClient()
         */
        @Override
        public NameServiceClient getNameServiceClient() {
            return this.nameServiceClient;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getBufferCache()
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmServlet.java

                if (this.loadBalance) {
                    dc = new UniAddress(getTransportContext().getNameServiceClient().getNbtByName(this.domainController, 0x1C, null));
                } else {
                    dc = getTransportContext().getNameServiceClient().getByName(this.domainController, true);
                }
                NtlmPasswordAuthentication ntlm;
                if (msg.startsWith("NTLM ")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  5. src/main/java/jcifs/CIFSContext.java

         */
        Configuration getConfig();
    
        /**
         * Get the name service client for NetBIOS name resolution
         *
         * @return the name server client
         */
        NameServiceClient getNameServiceClient();
    
        /**
         * Get the buffer cache for efficient memory management
         *
         * @return the buffer cache
         */
        BufferCache getBufferCache();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            }
    
            @Override
            public BufferCache getBufferCache() {
                return null; // Not relevant for AbstractCIFSContext tests
            }
    
            @Override
            public NameServiceClient getNameServiceClient() {
                return null; // Not relevant for AbstractCIFSContext tests
            }
    
            @Override
            public Configuration getConfig() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type1Message.java

         * environment.
         *
         * @param tc
         *            context to use
         */
        public Type1Message(final CIFSContext tc) {
            this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName());
        }
    
        /**
         * Creates a Type-1 message with the specified parameters.
         *
         * @param tc
         *            context to use
         * @param flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top