jcifs.smb

Class Dfs


public class Dfs
extends java.lang.Object

Field Summary

protected static jcifs.smb.Dfs.CacheEntry
FALSE_ENTRY
protected jcifs.smb.Dfs.CacheEntry
_domains
protected jcifs.smb.Dfs.CacheEntry
referrals

Method Summary

SmbTransport
getDc(String domain, NtlmPasswordAuthentication auth)
DfsReferral
getReferral(SmbTransport trans, String domain, String root, String path, NtlmPasswordAuthentication auth)
HashMap
getTrustedDomains(NtlmPasswordAuthentication auth)
boolean
isTrustedDomain(String domain, NtlmPasswordAuthentication auth)
DfsReferral
resolve(String domain, String root, String path, NtlmPasswordAuthentication auth)

Field Details

FALSE_ENTRY

protected static jcifs.smb.Dfs.CacheEntry FALSE_ENTRY

_domains

protected jcifs.smb.Dfs.CacheEntry _domains

referrals

protected jcifs.smb.Dfs.CacheEntry referrals

Method Details

getDc

public SmbTransport getDc(String domain,
                          NtlmPasswordAuthentication auth)
            throws SmbAuthException

getReferral

public DfsReferral getReferral(SmbTransport trans,
                               String domain,
                               String root,
                               String path,
                               NtlmPasswordAuthentication auth)
            throws SmbAuthException

getTrustedDomains

public HashMap getTrustedDomains(NtlmPasswordAuthentication auth)
            throws SmbAuthException

isTrustedDomain

public boolean isTrustedDomain(String domain,
                               NtlmPasswordAuthentication auth)
            throws SmbAuthException

resolve

public DfsReferral resolve(String domain,
                           String root,
                           String path,
                           NtlmPasswordAuthentication auth)
            throws SmbAuthException