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
|
byte[] |
getMachineId()
Machine identifier
ClientGuid, ...
|
int |
getMaximumBufferSize() |
DialectVersion |
getMaximumVersion()
Maximum protocol version
Property jcifs.smb.client.maxVersion (string, default SMB210)
|
int |
getMaxMpxCount()
Property jcifs.smb.client.maxMpxCount (int, default 10)
|
int |
getMaxRequestRetries()
Property jcifs.smb.client.maxRequestRetries (int, default 2)
|
DialectVersion |
getMinimumVersion()
Minimum protocol version
Property jcifs.smb.client.minVersion (string, default SMB1)
|
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 |
getReceiveBufferSize()
Property jcifs.smb.client.rcv_buf_size (int, default 65535)
|
int |
getRecieveBufferSize()
Deprecated.
use getReceiveBufferSize instead
|
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)
|
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 |
isDisableSpnegoIntegrity()
Property jcifs.smb.client.disableSpnegoIntegrity (boolean, false)
|
boolean |
isEncryptionEnabled()
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.
|
boolean |
isEnforceSpnegoIntegrity()
Property jcifs.smb.client.enforceSpnegoIntegrity (boolean, false)
|
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, false)
|
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 |
isRequireSecureNegotiate()
Enforce secure negotiation
Property jcifs.smb.client.requireSecureNegotiate (boolean, default true)
This does not provide any actual downgrade protection if SMB1 is allowed.
|
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 |
isUseRawNTLM()
Property jcifs.smb.useRawNTLM (boolean, default false)
|
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()
DialectVersion getMinimumVersion()
DialectVersion
DialectVersion getMaximumVersion()
DialectVersion
boolean isUseSMB2OnlyNegotiation()
boolean isRequireSecureNegotiate()
boolean isPort139FailoverEnabled()
boolean isUseUnicode()
boolean isForceUnicode()
boolean isUseBatching()
String getNativeOs()
String getNativeLanman()
@Deprecated int getRecieveBufferSize()
int getReceiveBufferSize()
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 isUseRawNTLM()
boolean isDisablePlainTextPasswords()
List<ResolverType> getResolveOrder()
ResolverType
InetAddress 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 isEncryptionEnabled()
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
- int getNotifyBufferSize()
int getMaxRequestRetries()
boolean isStrictResourceLifecycle()
boolean isTraceResourceUsage()
boolean isAllowCompound(String command)
command
- byte[] getMachineId()
boolean isDisableSpnegoIntegrity()
boolean isEnforceSpnegoIntegrity()
Copyright © 2018. All rights reserved.