Package jcifs
Interface DfsResolver
-
- All Known Implementing Classes:
DfsImpl
public interface DfsResolverThis is an internal API.- Author:
- mbechler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcache(CIFSContext tc, String path, DfsReferralData dr)Add a referral to the cacheSmbTransportgetDc(CIFSContext tf, String domain)Get a connection to the domain controller for a given domainbooleanisTrustedDomain(CIFSContext tf, String domain)DfsReferralDataresolve(CIFSContext tf, String domain, String root, String path)Resolve the location of a DFS path
-
-
-
Method Detail
-
isTrustedDomain
boolean isTrustedDomain(CIFSContext tf, String domain) throws CIFSException
- Parameters:
domain-tf-- Returns:
- whether the given domain is trusted
- Throws:
CIFSExceptionSmbAuthException
-
getDc
SmbTransport getDc(CIFSContext tf, String domain) throws CIFSException
Get a connection to the domain controller for a given domain- Parameters:
domain-tf-- Returns:
- connection
- Throws:
CIFSExceptionSmbAuthException
-
resolve
DfsReferralData resolve(CIFSContext tf, String domain, String root, String path) throws CIFSException
Resolve the location of a DFS path- Parameters:
domain-root-path-tf-- Returns:
- the final referral for the given DFS path
- Throws:
CIFSExceptionSmbAuthException
-
cache
void cache(CIFSContext tc, String path, DfsReferralData dr)
Add a referral to the cache- Parameters:
path-dr-tc-
-
-