- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for get$doc (0.06 sec)
-
src/test/java/jcifs/DfsResolverTest.java
assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain")); } // Test for getDc method @Test void testGetDc_DfsDisabled() throws CIFSException { when(mockConfig.isDfsDisabled()).thenReturn(true); assertNull(dfsResolver.getDc(mockContext, "anyDomain")); } @Test void testGetDc_Success() throws CIFSException, IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com")); } // Tests for getDc @Test void testGetDc_DfsDisabled() throws SmbAuthException { // Scenario: DFS is disabled. when(mockConfig.isDfsDisabled()).thenReturn(true); assertNull(dfsImpl.getDc(mockContext, "anydomain.com")); } @Test void testGetDc_ConnectionFails() throws SmbAuthException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
return null; return super.getTrustedDomains(auth); } @Override public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException { if (disabled) return null; return super.getDc(domain, auth); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/DfsResolver.java
* * @param tf the CIFS context * @param domain the domain name * @return connection to the domain controller * @throws CIFSException if the connection fails */ SmbTransport getDc(CIFSContext tf, String domain) throws CIFSException; /** * Resolve the location of a DFS path * * @param domain the domain for the DFS referral * @param root the DFS root share
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0)