- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for isTrustedDomain (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/DfsResolverTest.java
when(mockContext.getConfig()).thenReturn(mockConfig); } // Test for isTrustedDomain method @Test void testIsTrustedDomain_DfsDisabled() throws CIFSException { when(mockConfig.isDfsDisabled()).thenReturn(true); assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain")); } @Test void testIsTrustedDomain_NoUserDomain() throws CIFSException {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/DfsResolver.java
* @param tf the CIFS context * @param domain the domain name to check * @return whether the given domain is trusted * @throws CIFSException if the operation fails */ boolean isTrustedDomain(CIFSContext tf, String domain) throws CIFSException; /** * Get a connection to the domain controller for a given domain * * @param tf the CIFS context * @param domain the domain nameCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
trustedDomains.put("domain.com", new HashMap()); cacheEntry.map = trustedDomains; dfs._domains = cacheEntry; assertTrue(dfs.isTrustedDomain("domain.com", auth)); assertFalse(dfs.isTrustedDomain("otherdomain.com", auth)); } @Test void testGetDc_Disabled() throws SmbAuthException { // Test with disabled DFS testDfs.setDisabled(true);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/DfsImpl.java
} return null; } /** * * {@inheritDoc} * * @see jcifs.DfsResolver#isTrustedDomain(jcifs.CIFSContext, java.lang.String) */ @Override public boolean isTrustedDomain(final CIFSContext tf, String domain) throws SmbAuthException { synchronized (this.domainsLock) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 29.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
if (getType() != TYPE_SERVER) { throw new SmbException("The requested list operations is invalid: " + url.toString()); } map = new HashMap(); if (dfs.isTrustedDomain(getServer(), auth)) { /* The server name is actually the name of a trusted * domain. Add DFS roots to the list. */ try {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0)