パッケージ jcifs.smb
クラス DfsImpl
- java.lang.Object
-
- jcifs.smb.DfsImpl
-
- すべての実装されたインタフェース:
DfsResolver
public class DfsImpl extends Object implements DfsResolver
Caching DFS resolver implementation
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 DfsImpl(CIFSContext tc)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 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 domainprotected DfsReferralDataInternalgetReferral(CIFSContext tf, SmbTransportInternal trans, String target, String targetDomain, String targetHost, String root, String path)booleanisTrustedDomain(CIFSContext tf, String domain)DfsReferralDataresolve(CIFSContext tf, String domain, String root, String path)Resolve the location of a DFS path
-
-
-
コンストラクタの詳細
-
DfsImpl
public DfsImpl(CIFSContext tc)
- パラメータ:
tc-
-
-
メソッドの詳細
-
isTrustedDomain
public boolean isTrustedDomain(CIFSContext tf, String domain) throws SmbAuthException
- 定義:
isTrustedDomainインタフェース内DfsResolver- 戻り値:
- whether the given domain is trusted
- 例外:
SmbAuthException- 関連項目:
DfsResolver.isTrustedDomain(jcifs.CIFSContext, java.lang.String)
-
getDc
public SmbTransport getDc(CIFSContext tf, String domain) throws SmbAuthException
Get a connection to the domain controller for a given domain- 定義:
getDcインタフェース内DfsResolver- 戻り値:
- connection
- 例外:
SmbAuthException- 関連項目:
DfsResolver.getDc(jcifs.CIFSContext, java.lang.String)
-
getReferral
protected DfsReferralDataInternal getReferral(CIFSContext tf, SmbTransportInternal trans, String target, String targetDomain, String targetHost, String root, String path) throws SmbAuthException
- 例外:
SmbAuthException
-
resolve
public DfsReferralData resolve(CIFSContext tf, String domain, String root, String path) throws SmbAuthException
Resolve the location of a DFS path- 定義:
resolveインタフェース内DfsResolver- 戻り値:
- the final referral for the given DFS path
- 例外:
SmbAuthException- 関連項目:
DfsResolver.resolve(jcifs.CIFSContext, java.lang.String, java.lang.String, java.lang.String)
-
cache
public void cache(CIFSContext tc, String path, DfsReferralData dr)
インタフェースからコピーされた説明:DfsResolverAdd a referral to the cache- 定義:
cacheインタフェース内DfsResolver
-
-