Class SmbRemoteDirectorySetup

    • Field Detail

      • m_Domain

        protected String m_Domain
        the domain.
      • m_User

        protected String m_User
        the SMB user to use.
      • m_Password

        protected BasePassword m_Password
        the SMB password to use.
      • m_Host

        protected String m_Host
        the host.
      • m_RemoteDir

        protected String m_RemoteDir
        the directory to list.
      • m_Session

        protected transient jcifs.smb.NtlmPasswordAuthentication m_Session
        the SMB authentication.
    • Constructor Detail

      • SmbRemoteDirectorySetup

        public SmbRemoteDirectorySetup()
    • Method Detail

      • setHost

        public void setHost​(String value)
        Sets the host to connect to.
        Parameters:
        value - the host name/ip
      • getHost

        public String getHost()
        Returns the host to connect to.
        Returns:
        the host name/ip
      • hostTipText

        public String hostTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setDomain

        public void setDomain​(String value)
        Sets the domain to connect to.
        Parameters:
        value - the domain name
      • getDomain

        public String getDomain()
        Returns the domain to connect to.
        Returns:
        the domain name
      • domainTipText

        public String domainTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setUser

        public void setUser​(String value)
        Sets the SMB user to use.
        Parameters:
        value - the user name
      • getUser

        public String getUser()
        Returns the SMB user name to use.
        Returns:
        the user name
      • userTipText

        public String userTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • passwordTipText

        public String passwordTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setRemoteDir

        public void setRemoteDir​(String value)
        Sets the remote directory.
        Parameters:
        value - the remote directory
      • getRemoteDir

        public String getRemoteDir()
        Returns the remote directory.
        Returns:
        the remote directory.
      • remoteDirTipText

        public String remoteDirTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getAuthentication

        public jcifs.smb.NtlmPasswordAuthentication getAuthentication()
        Returns the SMB authentication.
        Specified by:
        getAuthentication in interface SMBAuthenticationProvider
        Returns:
        the SMB authentication, null if not connected
      • newAuthentication

        public jcifs.smb.NtlmPasswordAuthentication newAuthentication()
        Returns a new SMB authentication.
        Specified by:
        newAuthentication in interface SMBAuthenticationProvider
        Returns:
        the SMB authentication
      • cleanUp

        public void cleanUp()
        Cleans up data structures, frees up memory.
        Specified by:
        cleanUp in interface CleanUpHandler
      • requiresInitialization

        public boolean requiresInitialization()
        Returns whether the setup needs to be configured by the user or whether it can be used straight away.
        Specified by:
        requiresInitialization in interface RemoteDirectorySetup
        Returns:
        true if user needs to configure first