jcifs.smb
Class Dfs

java.lang.Object
  extended by jcifs.smb.Dfs

public class Dfs
extends java.lang.Object


Field Summary
protected  jcifs.smb.Dfs.CacheEntry _domains
           
protected static jcifs.smb.Dfs.CacheEntry FALSE_ENTRY
           
protected  jcifs.smb.Dfs.CacheEntry referrals
           
 
Constructor Summary
Dfs()
           
 
Method Summary
 SmbTransport getDc(java.lang.String domain, NtlmPasswordAuthentication auth)
           
 DfsReferral getReferral(SmbTransport trans, java.lang.String domain, java.lang.String root, java.lang.String path, NtlmPasswordAuthentication auth)
           
 java.util.HashMap getTrustedDomains(NtlmPasswordAuthentication auth)
           
 boolean isTrustedDomain(java.lang.String domain, NtlmPasswordAuthentication auth)
           
 DfsReferral resolve(java.lang.String domain, java.lang.String root, java.lang.String path, NtlmPasswordAuthentication auth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FALSE_ENTRY

protected static jcifs.smb.Dfs.CacheEntry FALSE_ENTRY

_domains

protected jcifs.smb.Dfs.CacheEntry _domains

referrals

protected jcifs.smb.Dfs.CacheEntry referrals
Constructor Detail

Dfs

public Dfs()
Method Detail

getTrustedDomains

public java.util.HashMap getTrustedDomains(NtlmPasswordAuthentication auth)
                                    throws SmbAuthException
Throws:
SmbAuthException

isTrustedDomain

public boolean isTrustedDomain(java.lang.String domain,
                               NtlmPasswordAuthentication auth)
                        throws SmbAuthException
Throws:
SmbAuthException

getDc

public SmbTransport getDc(java.lang.String domain,
                          NtlmPasswordAuthentication auth)
                   throws SmbAuthException
Throws:
SmbAuthException

getReferral

public DfsReferral getReferral(SmbTransport trans,
                               java.lang.String domain,
                               java.lang.String root,
                               java.lang.String path,
                               NtlmPasswordAuthentication auth)
                        throws SmbAuthException
Throws:
SmbAuthException

resolve

public DfsReferral resolve(java.lang.String domain,
                           java.lang.String root,
                           java.lang.String path,
                           NtlmPasswordAuthentication auth)
                    throws SmbAuthException
Throws:
SmbAuthException