public boolean isTrustedDomain(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException { HashMap domains = getTrustedDomains(auth); if (domains == null) return false; domain = domain.toLowerCase(); return domains.get(domain) != null; } public SmbTransport getDc(String domain,
public boolean isTrustedDomain(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException { HashMap domains = getTrustedDomains(auth); if (domains == null) return false; domain = domain.toLowerCase(); return domains.get(domain) != null; } public SmbTransport getDc(String domain,
public boolean isTrustedDomain(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException { HashMap domains = getTrustedDomains(auth); if (domains == null) return false; domain = domain.toLowerCase(); return domains.get(domain) != null; } public SmbTransport getDc(String domain,
public boolean isTrustedDomain(String domain,SmbExtendedAuthenticator authenticator, NtlmPasswordAuthentication auth) throws SmbAuthException // public boolean isTrustedDomain(String domain, // NtlmPasswordAuthentication auth) throws SmbAuthException // SmbAuthenticator<< { // >>SmbAuthenticator Fixed trusted domain issue. HashMap domains = getTrustedDomains(authenticator,auth); // SmbAuthenticator<< if (domains == null) return false; domain = domain.toLowerCase(); return domains.get(domain) != null; } // >>SmbAuthenticator Fixed trusted domain issue.
HashMap domains = getTrustedDomains(auth); if (domains != null) { domain = domain.toLowerCase();
HashMap domains = getTrustedDomains(auth); if (domains != null) { domain = domain.toLowerCase();
HashMap domains = getTrustedDomains(auth); if (domains != null) { domain = domain.toLowerCase();
HashMap domains = getTrustedDomains(authenticator,auth);