- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for getNameServiceClient (0.26 sec)
-
src/test/java/jcifs/context/BaseContextTest.java
} @Test @DisplayName("getNameServiceClient should return initialized name service client") void testGetNameServiceClient() { // When NameServiceClient nameServiceClient = context.getNameServiceClient(); // Then assertNotNull(nameServiceClient, "Name service client should not be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
void testGetNameServiceClient() { // Test getNameServiceClient() method NameServiceClient mockNameServiceClient = mock(NameServiceClient.class); when(mockDelegate.getNameServiceClient()).thenReturn(mockNameServiceClient); assertEquals(mockNameServiceClient, cifsContextWrapper.getNameServiceClient()); verify(mockDelegate).getNameServiceClient(); } @Test void testGetBufferCache() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
this.addresses = this.ctx.getNameServiceClient().getAllByName(this.ctx.getConfig().getDefaultDomain(), true); } } else if (path.length() == 0 || path.equals("/")) { this.addresses = this.ctx.getNameServiceClient().getAllByName(host, true); } else { this.addresses = this.ctx.getNameServiceClient().getAllByName(host, false); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
src/main/java/jcifs/netbios/NbtAddress.java
if (this.hostName.isUnknown()) { tc.getNameServiceClient().getNbtAllByAddress(this); } } void checkNodeStatusData(final CIFSContext tc) throws UnknownHostException { if (!this.isDataFromNodeStatus) { tc.getNameServiceClient().getNbtAllByAddress(this); } } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
} dc = chal.dc; challenge = chal.challenge; } else { dc = getTransportContext().getNameServiceClient().getByName(this.domainController, true); challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0)