パッケージ jcifs.config

クラス BaseConfiguration

    • フィールドの詳細

      • localPid

        protected int localPid
      • localTimeZone

        protected TimeZone localTimeZone
      • useBatching

        protected boolean useBatching
      • useUnicode

        protected boolean useUnicode
      • forceUnicode

        protected boolean forceUnicode
      • signingPreferred

        protected boolean signingPreferred
      • signingEnforced

        protected boolean signingEnforced
      • ipcSigningEnforced

        protected boolean ipcSigningEnforced
      • encryptionEnabled

        protected boolean encryptionEnabled
      • useNtStatus

        protected boolean useNtStatus
      • useExtendedSecurity

        protected boolean useExtendedSecurity
      • forceExtendedSecurity

        protected boolean forceExtendedSecurity
      • smb2OnlyNegotiation

        protected boolean smb2OnlyNegotiation
      • port139FailoverEnabled

        protected boolean port139FailoverEnabled
      • useNTSmbs

        protected boolean useNTSmbs
      • useLargeReadWrite

        protected boolean useLargeReadWrite
      • lanmanCompatibility

        protected int lanmanCompatibility
      • allowNTLMFallback

        protected boolean allowNTLMFallback
      • useRawNTLM

        protected boolean useRawNTLM
      • disableSpnegoIntegrity

        protected boolean disableSpnegoIntegrity
      • enforceSpnegoIntegrity

        protected boolean enforceSpnegoIntegrity
      • disablePlainTextPasswords

        protected boolean disablePlainTextPasswords
      • oemEncoding

        protected String oemEncoding
      • flags2

        protected int flags2
      • capabilities

        protected int capabilities
      • sessionLimit

        protected int sessionLimit
      • smbTcpNoDelay

        protected boolean smbTcpNoDelay
      • smbResponseTimeout

        protected int smbResponseTimeout
      • smbSocketTimeout

        protected int smbSocketTimeout
      • smbConnectionTimeout

        protected int smbConnectionTimeout
      • smbSessionTimeout

        protected int smbSessionTimeout
      • idleTimeoutDisabled

        protected boolean idleTimeoutDisabled
      • smbLocalAddress

        protected InetAddress smbLocalAddress
      • smbLocalPort

        protected int smbLocalPort
      • maxMpxCount

        protected int maxMpxCount
      • smbSendBufferSize

        protected int smbSendBufferSize
      • smbRecvBufferSize

        protected int smbRecvBufferSize
      • smbNotifyBufferSize

        protected int smbNotifyBufferSize
      • nativeOs

        protected String nativeOs
      • nativeLanMan

        protected String nativeLanMan
      • vcNumber

        protected int vcNumber
      • dfsDisabled

        protected boolean dfsDisabled
      • dfsTTL

        protected long dfsTTL
      • dfsStrictView

        protected boolean dfsStrictView
      • dfsConvertToFqdn

        protected boolean dfsConvertToFqdn
      • logonShare

        protected String logonShare
      • defaultDomain

        protected String defaultDomain
      • defaultUserName

        protected String defaultUserName
      • defaultPassword

        protected String defaultPassword
      • netbiosHostname

        protected String netbiosHostname
      • netbiosCachePolicy

        protected int netbiosCachePolicy
      • netbiosSocketTimeout

        protected int netbiosSocketTimeout
      • netbiosSendBufferSize

        protected int netbiosSendBufferSize
      • netbiosRevcBufferSize

        protected int netbiosRevcBufferSize
      • netbiosRetryCount

        protected int netbiosRetryCount
      • netbiosRetryTimeout

        protected int netbiosRetryTimeout
      • netbiosScope

        protected String netbiosScope
      • netbiosLocalPort

        protected int netbiosLocalPort
      • netbiosLocalAddress

        protected InetAddress netbiosLocalAddress
      • lmhostsFilename

        protected String lmhostsFilename
      • broadcastAddress

        protected InetAddress broadcastAddress
      • maximumBufferSize

        protected int maximumBufferSize
      • transactionBufferSize

        protected int transactionBufferSize
      • bufferCacheSize

        protected int bufferCacheSize
      • smbListSize

        protected int smbListSize
      • smbListCount

        protected int smbListCount
      • smbAttributeExpiration

        protected long smbAttributeExpiration
      • ignoreCopyToException

        protected boolean ignoreCopyToException
      • maxRequestRetries

        protected int maxRequestRetries
      • traceResourceUsage

        protected boolean traceResourceUsage
      • strictResourceLifecycle

        protected boolean strictResourceLifecycle
      • disallowCompound

        protected Set<String> disallowCompound
    • コンストラクタの詳細

      • BaseConfiguration

        public BaseConfiguration​(boolean initDefaults)
                          throws CIFSException
        パラメータ:
        initDefaults - whether to initialize defaults based on other settings
        例外:
        CIFSException
    • メソッドの詳細

      • getNetbiosHostname

        public String getNetbiosHostname()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.hostname (string)
        定義:
        getNetbiosHostname インタフェース内 Configuration
        戻り値:
        local NETBIOS/short name to announce
      • getLocalAddr

        public InetAddress getLocalAddr()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.laddr (string)
        定義:
        getLocalAddr インタフェース内 Configuration
        戻り値:
        local address to use for outgoing connections
      • getLocalPort

        public int getLocalPort()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.lport (int)
        定義:
        getLocalPort インタフェース内 Configuration
        戻り値:
        local port to use for outgoing connections
      • getConnTimeout

        public int getConnTimeout()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.connTimeout (int, default 35000)
        定義:
        getConnTimeout インタフェース内 Configuration
        戻り値:
        timeout for establishing a socket connection, in milliseconds
      • getResponseTimeout

        public int getResponseTimeout()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.responseTimeout (int, default 30000)
        定義:
        getResponseTimeout インタフェース内 Configuration
        戻り値:
        timeout for SMB responses, in milliseconds
      • getSoTimeout

        public int getSoTimeout()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.soTimeout (int, default 35000)
        定義:
        getSoTimeout インタフェース内 Configuration
        戻り値:
        socket timeout, in milliseconds
      • getSessionTimeout

        public int getSessionTimeout()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.sessionTimeout (int, default 35000)
        定義:
        getSessionTimeout インタフェース内 Configuration
        戻り値:
        timeout for SMB sessions, in milliseconds
      • getSendBufferSize

        public int getSendBufferSize()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.snd_buf_size (int, default 65535)
        定義:
        getSendBufferSize インタフェース内 Configuration
        戻り値:
        send buffer size, in bytes
      • getRecieveBufferSize

        @Deprecated
        public int getRecieveBufferSize()
        推奨されていません。
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.rcv_buf_size (int, default 65535)
        定義:
        getRecieveBufferSize インタフェース内 Configuration
        戻り値:
        receive buffer size, in bytes
      • getReceiveBufferSize

        public int getReceiveBufferSize()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.rcv_buf_size (int, default 65535)
        定義:
        getReceiveBufferSize インタフェース内 Configuration
        戻り値:
        receive buffer size, in bytes
      • getNotifyBufferSize

        public int getNotifyBufferSize()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.notify_buf_size (int, default 1024)
        定義:
        getNotifyBufferSize インタフェース内 Configuration
        戻り値:
        the size of the requested server notify buffer
      • getMaxMpxCount

        public int getMaxMpxCount()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.maxMpxCount (int, default 10)
        定義:
        getMaxMpxCount インタフェース内 Configuration
        戻り値:
        maximum count of concurrent commands to announce
      • getNativeLanman

        public String getNativeLanman()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.nativeLanMan (string, default jCIFS)
        定義:
        getNativeLanman インタフェース内 Configuration
        戻り値:
        Lanman string to report
      • getNativeOs

        public String getNativeOs()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.nativeOs (string, default os.name)
        定義:
        getNativeOs インタフェース内 Configuration
        戻り値:
        OS string to report
      • getVcNumber

        public int getVcNumber()
        定義:
        getVcNumber インタフェース内 Configuration
        戻り値:
        virtual circuit number to use
      • getCapabilities

        public int getCapabilities()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.capabilities (int)
        定義:
        getCapabilities インタフェース内 Configuration
        戻り値:
        custom capabilities
      • getMinimumVersion

        public DialectVersion getMinimumVersion()
        インタフェースからコピーされた説明: Configuration
        Minimum protocol version Property jcifs.smb.client.minVersion (string, default SMB1)
        定義:
        getMinimumVersion インタフェース内 Configuration
        戻り値:
        minimum protocol version to use/allow
        関連項目:
        DialectVersion
      • getMaximumVersion

        public DialectVersion getMaximumVersion()
        インタフェースからコピーされた説明: Configuration
        Maximum protocol version Property jcifs.smb.client.maxVersion (string, default SMB210)
        定義:
        getMaximumVersion インタフェース内 Configuration
        戻り値:
        maximum protocol version to use/allow
        関連項目:
        DialectVersion
      • isUseSMB2OnlyNegotiation

        public boolean isUseSMB2OnlyNegotiation()
        インタフェースからコピーされた説明: Configuration
        Use SMB2 non-backward compatible negotiation style Property jcifs.smb.client.useSMB2Negotiation (boolean, default false)
        定義:
        isUseSMB2OnlyNegotiation インタフェース内 Configuration
        戻り値:
        whether to use non-backward compatible protocol negotiation
      • isRequireSecureNegotiate

        public boolean isRequireSecureNegotiate()
        インタフェースからコピーされた説明: Configuration
        Enforce secure negotiation Property jcifs.smb.client.requireSecureNegotiate (boolean, default true) This does not provide any actual downgrade protection if SMB1 is allowed. It will also break connections with SMB2 servers that do not properly sign error responses.
        定義:
        isRequireSecureNegotiate インタフェース内 Configuration
        戻り値:
        whether to enforce the use of secure negotiation.
      • isPort139FailoverEnabled

        public boolean isPort139FailoverEnabled()
        インタフェースからコピーされた説明: Configuration
        Enable port 139 failover Property jcifs.smb.client.port139.enabled (boolean, default false)
        定義:
        isPort139FailoverEnabled インタフェース内 Configuration
        戻り値:
        whether to failover to legacy transport on port 139
      • isUseBatching

        public boolean isUseBatching()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.useBatching (boolean, default true)
        定義:
        isUseBatching インタフェース内 Configuration
        戻り値:
        whether to enable support for SMB1 AndX command batching
      • isUseUnicode

        public boolean isUseUnicode()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.useUnicode (boolean, default true)
        定義:
        isUseUnicode インタフェース内 Configuration
        戻り値:
        whether to announce support for unicode
      • isForceUnicode

        public boolean isForceUnicode()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.forceUnicode (boolean, default false)
        定義:
        isForceUnicode インタフェース内 Configuration
        戻り値:
        whether to use unicode, even if the server does not announce it
      • isDfsDisabled

        public boolean isDfsDisabled()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.dfs.disabled (boolean, default false)
        定義:
        isDfsDisabled インタフェース内 Configuration
        戻り値:
        whether DFS lookup is disabled
      • isDfsStrictView

        public boolean isDfsStrictView()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.dfs.strictView (boolean, default false)
        定義:
        isDfsStrictView インタフェース内 Configuration
        戻り値:
        whether a authentication failure during DFS resolving will throw an exception
      • getDfsTtl

        public long getDfsTtl()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.dfs.ttl (int, default 300)
        定義:
        getDfsTtl インタフェース内 Configuration
        戻り値:
        title to live, in seconds, for DFS cache entries
      • isDfsConvertToFQDN

        public boolean isDfsConvertToFQDN()
        インタフェースからコピーされた説明: Configuration
        Enable hack to make kerberos auth work with DFS sending short names This works by appending the domain name to the netbios short name and will fail horribly if this mapping is not correct for your domain. Property jcifs.smb.client.dfs.convertToFQDN (boolean, default false)
        定義:
        isDfsConvertToFQDN インタフェース内 Configuration
        戻り値:
        whether to convert NetBIOS names returned by DFS to FQDNs
      • getLogonShare

        public String getLogonShare()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.logonShare
        定義:
        getLogonShare インタフェース内 Configuration
        戻り値:
        share to connect to during authentication, if unset connect to IPC$
      • getDefaultDomain

        public String getDefaultDomain()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.domain
        定義:
        getDefaultDomain インタフェース内 Configuration
        戻り値:
        default credentials, domain name
      • getDefaultUsername

        public String getDefaultUsername()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.username
        定義:
        getDefaultUsername インタフェース内 Configuration
        戻り値:
        default credentials, user name
      • getDefaultPassword

        public String getDefaultPassword()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.password
        定義:
        getDefaultPassword インタフェース内 Configuration
        戻り値:
        default credentials, password
      • isDisablePlainTextPasswords

        public boolean isDisablePlainTextPasswords()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.disablePlainTextPasswords (boolean, default true)
        定義:
        isDisablePlainTextPasswords インタフェース内 Configuration
        戻り値:
        whether the usage of plaintext passwords is prohibited, defaults to false
      • getLanManCompatibility

        public int getLanManCompatibility()
        インタフェースからコピーされた説明: Configuration
        Lanman compatibility level
        0 or 1 LM and NTLM
        2 NTLM only
        3-5 NTLMv2 only
        Property jcifs.smb.lmCompatibility (int, default 3)
        定義:
        getLanManCompatibility インタフェース内 Configuration
        戻り値:
        lanman compatibility level, defaults to 3 i.e. NTLMv2 only
      • isAllowNTLMFallback

        public boolean isAllowNTLMFallback()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.allowNTLMFallback (boolean, default true)
        定義:
        isAllowNTLMFallback インタフェース内 Configuration
        戻り値:
        whether to allow fallback from kerberos to NTLM
      • isUseRawNTLM

        public boolean isUseRawNTLM()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.useRawNTLM (boolean, default false)
        定義:
        isUseRawNTLM インタフェース内 Configuration
        戻り値:
        whether to use raw NTLMSSP tokens instead of SPNEGO wrapped ones
      • isDisableSpnegoIntegrity

        public boolean isDisableSpnegoIntegrity()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.disableSpnegoIntegrity (boolean, false)
        定義:
        isDisableSpnegoIntegrity インタフェース内 Configuration
        戻り値:
        whether to disable sending/verifying SPNEGO mechanismListMIC
      • isEnforceSpnegoIntegrity

        public boolean isEnforceSpnegoIntegrity()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.enforceSpnegoIntegrity (boolean, false)
        定義:
        isEnforceSpnegoIntegrity インタフェース内 Configuration
        戻り値:
        whether to enforce verifying SPNEGO mechanismListMIC
      • getBroadcastAddress

        public InetAddress getBroadcastAddress()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.baddr (string, default 255.255.255.255)
        定義:
        getBroadcastAddress インタフェース内 Configuration
        戻り値:
        broadcast address to use
      • getWinsServers

        public InetAddress[] getWinsServers()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.wins (string, comma separated)
        定義:
        getWinsServers インタフェース内 Configuration
        戻り値:
        WINS server to use
      • getNetbiosLocalPort

        public int getNetbiosLocalPort()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.lport (int)
        定義:
        getNetbiosLocalPort インタフェース内 Configuration
        戻り値:
        local bind port for nebios connections
      • getNetbiosLocalAddress

        public InetAddress getNetbiosLocalAddress()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.laddr (string)
        定義:
        getNetbiosLocalAddress インタフェース内 Configuration
        戻り値:
        local bind address for netbios connections
      • getNetbiosSoTimeout

        public int getNetbiosSoTimeout()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.soTimeout (int, default 5000)
        定義:
        getNetbiosSoTimeout インタフェース内 Configuration
        戻り値:
        socket timeout for netbios connections, in milliseconds
      • getNetbiosScope

        public String getNetbiosScope()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.scope (string)
        定義:
        getNetbiosScope インタフェース内 Configuration
        戻り値:
        default netbios scope to set in requests
      • getNetbiosCachePolicy

        public int getNetbiosCachePolicy()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.cachePolicy in minutes (int, default 600)
        定義:
        getNetbiosCachePolicy インタフェース内 Configuration
        戻り値:
        netbios cache timeout, in seconds, 0 - disable caching, -1 - cache forever
      • getNetbiosRcvBufSize

        public int getNetbiosRcvBufSize()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.rcv_buf_size (int, default 576)
        定義:
        getNetbiosRcvBufSize インタフェース内 Configuration
        戻り値:
        netbios recieve buffer size
      • getNetbiosRetryCount

        public int getNetbiosRetryCount()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.retryCount (int, default 2)
        定義:
        getNetbiosRetryCount インタフェース内 Configuration
        戻り値:
        maximum number of retries for netbios requests
      • getNetbiosRetryTimeout

        public int getNetbiosRetryTimeout()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.retryTimeout (int, default 3000)
        定義:
        getNetbiosRetryTimeout インタフェース内 Configuration
        戻り値:
        timeout of retry requests, in milliseconds
      • getNetbiosSndBufSize

        public int getNetbiosSndBufSize()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.snd_buf_size (int, default 576)
        定義:
        getNetbiosSndBufSize インタフェース内 Configuration
        戻り値:
        netbios send buffer size
      • getLmHostsFileName

        public String getLmHostsFileName()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.netbios.lmhosts (string)
        定義:
        getLmHostsFileName インタフェース内 Configuration
        戻り値:
        lmhosts file to use
      • getFlags2

        public int getFlags2()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.flags2 (int)
        定義:
        getFlags2 インタフェース内 Configuration
        戻り値:
        custom flags2
      • getSessionLimit

        public int getSessionLimit()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.ssnLimit (int, 250)
        定義:
        getSessionLimit インタフェース内 Configuration
        戻り値:
        maximum number of sessions on a single connection
      • getOemEncoding

        public String getOemEncoding()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.encoding (string, default Cp850)
        定義:
        getOemEncoding インタフェース内 Configuration
        戻り値:
        OEM encoding to use
      • getPid

        public int getPid()
        定義:
        getPid インタフェース内 Configuration
        戻り値:
        Process id to send, randomized if unset
      • isSigningEnabled

        public boolean isSigningEnabled()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.signingPreferred (boolean, default false)
        定義:
        isSigningEnabled インタフェース内 Configuration
        戻り値:
        whether to enable SMB signing (for everything), if available
      • isSigningEnforced

        public boolean isSigningEnforced()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.signingEnforced (boolean, default false)
        定義:
        isSigningEnforced インタフェース内 Configuration
        戻り値:
        whether to enforce SMB signing (for everything)
      • isIpcSigningEnforced

        public boolean isIpcSigningEnforced()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.ipcSigningEnforced (boolean, default true)
        定義:
        isIpcSigningEnforced インタフェース内 Configuration
        戻り値:
        whether to enforce SMB signing for IPC connections
      • isEncryptionEnabled

        public boolean isEncryptionEnabled()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.encryptionEnabled (boolean, default false) This is an experimental option allowing to indicate support during protocol negotiation, SMB encryption is not implemented yet.
        定義:
        isEncryptionEnabled インタフェース内 Configuration
        戻り値:
        whether SMB encryption is enabled
      • isForceExtendedSecurity

        public boolean isForceExtendedSecurity()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.forceExtendedSecurity (boolean, default false)
        定義:
        isForceExtendedSecurity インタフェース内 Configuration
        戻り値:
        whether to force extended security usage
      • getTransactionBufferSize

        public int getTransactionBufferSize()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.transaction_buf_size (int, default 65535)
        定義:
        getTransactionBufferSize インタフェース内 Configuration
        戻り値:
        maximum data size for SMB transactions
      • getMaximumBufferSize

        public int getMaximumBufferSize()
        定義:
        getMaximumBufferSize インタフェース内 Configuration
        戻り値:
        the maximum size of IO buffers, limits the maximum message size
      • getBufferCacheSize

        public int getBufferCacheSize()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.maxBuffers (int, default 16)
        定義:
        getBufferCacheSize インタフェース内 Configuration
        戻り値:
        number of buffers to keep in cache
      • getListCount

        public int getListCount()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.listCount (int, default 200)
        定義:
        getListCount インタフェース内 Configuration
        戻り値:
        maxmimum number of elements to request in a list request
      • getListSize

        public int getListSize()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.listSize (int, default 65535)
        定義:
        getListSize インタフェース内 Configuration
        戻り値:
        maximum data size for list requests
      • getAttributeCacheTimeout

        public long getAttributeCacheTimeout()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.attrExpirationPeriod (int, 5000)
        定義:
        getAttributeCacheTimeout インタフェース内 Configuration
        戻り値:
        timeout of file attribute cache
      • isIgnoreCopyToException

        public boolean isIgnoreCopyToException()
        インタフェースからコピーされた説明: Configuration
        Property jcifs.smb.client.ignoreCopyToException (boolean, false)
        定義:
        isIgnoreCopyToException インタフェース内 Configuration
        戻り値:
        whether to ignore exceptions that occur during file copy
      • isStrictResourceLifecycle

        public boolean isStrictResourceLifecycle()
        Property jcifs.smb.client.strictResourceLifecycle (bool, default false) If enabled, SmbFile instances starting with their first use will hold a reference to their tree. This means that trees/sessions/connections won't be idle-disconnected even if there are no other active references (currently executing code, file descriptors). Depending on the usage scenario, this may have some benefit as there won't be any delays for restablishing these resources, however comes at the cost of having to properly release all SmbFile instances you no longer need.
        定義:
        isStrictResourceLifecycle インタフェース内 Configuration
        戻り値:
        whether to use strict resource lifecycle
        関連項目:
        Configuration.isStrictResourceLifecycle()
      • getMachineId

        public byte[] getMachineId()
        Machine identifier ClientGuid, ... are derived from this value. Normally this should be randomly assigned for each client instance/configuration.
        定義:
        getMachineId インタフェース内 Configuration
        戻り値:
        machine identifier (32 byte)
        関連項目:
        Configuration.getMachineId()
      • doGetBatchLimit

        protected Integer doGetBatchLimit​(String cmd)
        パラメータ:
        cmd -
        戻り値:
      • initResolverOrder

        protected void initResolverOrder​(String ro)
      • initProtocolVersions

        protected void initProtocolVersions​(String minStr,
                                            String maxStr)
      • initDisallowCompound

        protected void initDisallowCompound​(String prop)