public interface Configuration
BaseConfiguration or
DelegatingConfiguration to get forward compatibility.| Modifier and Type | Method and Description |
|---|---|
long |
getAttributeCacheTimeout()
Property jcifs.smb.client.attrExpirationPeriod (int, 5000)
|
int |
getBatchLimit(String cmd) |
InetAddress |
getBroadcastAddress()
Property jcifs.netbios.baddr (string, default 255.255.255.255)
|
int |
getBufferCacheSize()
Property jcifs.smb.maxBuffers (int, default 16)
|
int |
getCapabilities()
Property jcifs.smb.client.capabilities (int)
|
int |
getConnTimeout()
Property jcifs.smb.client.connTimeout (int, default 35000)
|
String |
getDefaultDomain()
Property jcifs.smb.client.domain
|
String |
getDefaultPassword()
Property jcifs.smb.client.password
|
String |
getDefaultUsername()
Property jcifs.smb.client.username
|
long |
getDfsTtl()
Property jcifs.smb.client.dfs.ttl (int, default 300)
|
int |
getFlags2()
Property jcifs.smb.client.flags2 (int)
|
int |
getLanManCompatibility()
Lanman compatibility level
0 or 1
LM and NTLM
2
NTLM only
3-5
NTLMv2 only
Property jcifs.smb.lmCompatibility (int, default 3)
|
int |
getListCount()
Property jcifs.smb.client.listCount (int, default 200)
|
int |
getListSize()
Property jcifs.smb.client.listSize (int, default 65535)
|
String |
getLmHostsFileName()
Property jcifs.netbios.lmhosts (string)
|
InetAddress |
getLocalAddr()
Property jcifs.smb.client.laddr (string)
|
int |
getLocalPort()
Property jcifs.smb.client.lport (int)
|
TimeZone |
getLocalTimezone() |
String |
getLogonShare()
Property jcifs.smb.client.logonShare
|
int |
getMaximumBufferSize() |
int |
getMaxMpxCount()
Property jcifs.smb.client.maxMpxCount (int, default 10)
|
int |
getMaxRequestRetries()
Property jcifs.smb.client.maxRequestRetries (int, default 2)
|
String |
getNativeLanman()
Property jcifs.smb.client.nativeLanMan (string, default jCIFS)
|
String |
getNativeOs()
Property jcifs.smb.client.nativeOs (string, default os.name)
|
int |
getNetbiosCachePolicy()
Property jcifs.netbios.cachePolicy in minutes (int, default 600)
|
String |
getNetbiosHostname()
Property jcifs.netbios.hostname (string)
|
InetAddress |
getNetbiosLocalAddress()
Property jcifs.netbios.laddr (string)
|
int |
getNetbiosLocalPort()
Property jcifs.netbios.lport (int)
|
int |
getNetbiosRcvBufSize()
Property jcifs.netbios.rcv_buf_size (int, default 576)
|
int |
getNetbiosRetryCount()
Property jcifs.netbios.retryCount (int, default 2)
|
int |
getNetbiosRetryTimeout()
Property jcifs.netbios.retryTimeout (int, default 3000)
|
String |
getNetbiosScope()
Property jcifs.netbios.scope (string)
|
int |
getNetbiosSndBufSize()
Property jcifs.netbios.snd_buf_size (int, default 576)
|
int |
getNetbiosSoTimeout()
Property jcifs.netbios.soTimeout (int, default 5000)
|
int |
getNotifyBufferSize()
Property jcifs.smb.client.notify_buf_size (int, default 1024)
|
String |
getOemEncoding()
Property jcifs.encoding (string, default Cp850)
|
int |
getPid() |
SecureRandom |
getRandom() |
int |
getRecieveBufferSize()
Property jcifs.smb.client.rcv_buf_size (int, default 65535)
|
List<ResolverType> |
getResolveOrder()
Property jcifs.resolveOrder (string, default LMHOSTS,DNS,WINS,BCAST)
|
int |
getResponseTimeout()
Property jcifs.smb.client.responseTimeout (int, default 30000)
|
int |
getSendBufferSize()
Property jcifs.smb.client.snd_buf_size (int, default 65535)
|
int |
getSessionLimit()
Property jcifs.smb.client.ssnLimit (int, 250)
|
int |
getSessionTimeout()
Property jcifs.smb.client.sessionTimeout (int, default 35000)
|
int |
getSoTimeout()
Property jcifs.smb.client.soTimeout (int, default 35000)
|
String[] |
getSupportedDialects() |
int |
getTransactionBufferSize()
Property jcifs.smb.client.transaction_buf_size (int, default 65535)
|
int |
getVcNumber() |
InetAddress[] |
getWinsServers()
Property jcifs.netbios.wins (string, comma separated)
|
boolean |
isAllowCompound(String command) |
boolean |
isAllowNTLMFallback()
Property jcifs.smb.allowNTLMFallback (boolean, default true)
|
boolean |
isDfsConvertToFQDN()
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.
|
boolean |
isDfsDisabled()
Property jcifs.smb.client.dfs.disabled (boolean, default false)
|
boolean |
isDfsStrictView()
Property jcifs.smb.client.dfs.strictView (boolean, default false)
|
boolean |
isDisablePlainTextPasswords()
Property jcifs.smb.client.disablePlainTextPasswords (boolean, default true)
|
boolean |
isDisableSMB1()
Disables SMB1 support
Property jcifs.smb.client.disableSMB1 (boolean, default false)
Rejects connections if the server chooses SMB1.
|
boolean |
isEnableSMB2()
Enable experimental SMB2 support
Property jcifs.smb.client.enableSMB2 (boolean, default false)
This enables announcement of SMB2 support.
|
boolean |
isForceExtendedSecurity()
Property jcifs.smb.client.forceExtendedSecurity (boolean, default false)
|
boolean |
isForceUnicode()
Property jcifs.smb.client.forceUnicode (boolean, default false)
|
boolean |
isIgnoreCopyToException()
Property jcifs.smb.client.ignoreCopyToException (boolean, true)
|
boolean |
isIpcSigningEnforced()
Property jcifs.smb.client.ipcSigningEnforced (boolean, default true)
|
boolean |
isPort139FailoverEnabled()
Enable port 139 failover
Property jcifs.smb.client.port139.enabled (boolean, default false)
|
boolean |
isSigningEnabled()
Property jcifs.smb.client.signingPreferred (boolean, default false)
|
boolean |
isSigningEnforced()
Property jcifs.smb.client.signingEnforced (boolean, default false)
|
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.
|
boolean |
isTraceResourceUsage()
This is solely intended for debugging
|
boolean |
isUseBatching()
Property jcifs.smb.client.useBatching (boolean, default true)
|
boolean |
isUseSMB2OnlyNegotiation()
Use SMB2 non-backward compatible negotiation style
Property jcifs.smb.client.useSMB2Negotiation (boolean, default false)
|
boolean |
isUseUnicode()
Property jcifs.smb.client.useUnicode (boolean, default true)
|
SecureRandom getRandom()
long getDfsTtl()
boolean isDfsStrictView()
boolean isDfsDisabled()
boolean isDfsConvertToFQDN()
boolean isEnableSMB2()
boolean isDisableSMB1()
boolean isUseSMB2OnlyNegotiation()
boolean isPort139FailoverEnabled()
boolean isUseUnicode()
boolean isForceUnicode()
boolean isUseBatching()
String getNativeOs()
String getNativeLanman()
int getRecieveBufferSize()
int getSendBufferSize()
int getSoTimeout()
int getConnTimeout()
int getSessionTimeout()
int getResponseTimeout()
int getLocalPort()
InetAddress getLocalAddr()
String getNetbiosHostname()
String getLogonShare()
String getDefaultDomain()
String getDefaultUsername()
String getDefaultPassword()
int getLanManCompatibility()
| 0 or 1 | LM and NTLM |
| 2 | NTLM only |
| 3-5 | NTLMv2 only |
boolean isAllowNTLMFallback()
boolean isDisablePlainTextPasswords()
List<ResolverType> getResolveOrder()
ResolverTypeInetAddress getBroadcastAddress()
InetAddress[] getWinsServers()
int getNetbiosLocalPort()
InetAddress getNetbiosLocalAddress()
int getNetbiosSoTimeout()
int getVcNumber()
int getCapabilities()
int getFlags2()
int getSessionLimit()
String getOemEncoding()
TimeZone getLocalTimezone()
int getPid()
int getMaxMpxCount()
boolean isSigningEnabled()
boolean isIpcSigningEnforced()
boolean isSigningEnforced()
boolean isForceExtendedSecurity()
String getLmHostsFileName()
String getNetbiosScope()
int getNetbiosSndBufSize()
int getNetbiosRcvBufSize()
int getNetbiosRetryTimeout()
int getNetbiosRetryCount()
int getNetbiosCachePolicy()
int getMaximumBufferSize()
int getTransactionBufferSize()
int getBufferCacheSize()
int getListCount()
int getListSize()
long getAttributeCacheTimeout()
boolean isIgnoreCopyToException()
int getBatchLimit(String cmd)
cmd - String[] getSupportedDialects()
int getNotifyBufferSize()
int getMaxRequestRetries()
boolean isStrictResourceLifecycle()
boolean isTraceResourceUsage()
boolean isAllowCompound(String command)
command - Copyright © 2018. All rights reserved.