Module jcifs

Interface SmbResourceLocatorInternal

All Superinterfaces:
SmbResourceLocator

public interface SmbResourceLocatorInternal extends SmbResourceLocator
Internal interface for SMB resource locators. This interface provides internal methods for locating and resolving SMB resources.
Author:
mbechler
  • Method Details

    • shouldForceSigning

      boolean shouldForceSigning()
      Determines whether SMB signing should be enforced for connections to this resource.
      Returns:
      whether to enforce the use of signing on connection to this resource
    • overlaps

      boolean overlaps(SmbResourceLocator other) throws CIFSException
      Determines whether this resource path overlaps with another resource path by sharing a common root.
      Parameters:
      other - the other resource locator to compare with
      Returns:
      whether the paths share a common root
      Throws:
      CIFSException - if an error occurs during comparison
    • handleDFSReferral

      String handleDFSReferral(DfsReferralData dr, String reqPath)
      Internal: for testing only
      Parameters:
      dr - the DFS referral data to process
      reqPath - the requested path to resolve
      Returns:
      resolved unc path