public class DelegatingConfiguration extends Object implements Configuration
| Constructor and Description |
|---|
DelegatingConfiguration(Configuration delegate) |
| 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)
|
String |
getGuestPassword()
Property jcifs.smb.client.guestPassword, defaults to empty string
|
String |
getGuestUsername()
Property jcifs.smb.client.guestUsername, defaults to GUEST
|
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 65435)
|
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 |
isAllowGuestFallback()
Property jcifs.smb.client.allowGuestFallback, defaults to false
|
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 |
isSendNTLMTargetName()
Property jcifs.smb.client.SendNTLMTargetName (boolean, true)
|
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 false)
|
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)
|
public DelegatingConfiguration(Configuration delegate)
delegate - delegate to pass all non-overridden method calls topublic SecureRandom getRandom()
getRandom in interface ConfigurationConfiguration.getRandom()public DialectVersion getMinimumVersion()
getMinimumVersion in interface ConfigurationConfiguration.getMinimumVersion()public DialectVersion getMaximumVersion()
getMaximumVersion in interface ConfigurationConfiguration.getMaximumVersion()public boolean isUseSMB2OnlyNegotiation()
isUseSMB2OnlyNegotiation in interface ConfigurationConfiguration.isUseSMB2OnlyNegotiation()public boolean isRequireSecureNegotiate()
isRequireSecureNegotiate in interface ConfigurationConfiguration.isRequireSecureNegotiate()public boolean isSendNTLMTargetName()
isSendNTLMTargetName in interface ConfigurationConfiguration.isSendNTLMTargetName()public boolean isPort139FailoverEnabled()
isPort139FailoverEnabled in interface ConfigurationConfiguration.isPort139FailoverEnabled()public long getDfsTtl()
getDfsTtl in interface ConfigurationConfiguration.getDfsTtl()public boolean isDfsStrictView()
isDfsStrictView in interface ConfigurationConfiguration.isDfsStrictView()public boolean isDfsDisabled()
isDfsDisabled in interface ConfigurationConfiguration.isDfsDisabled()public boolean isDfsConvertToFQDN()
isDfsConvertToFQDN in interface ConfigurationConfiguration.isDfsConvertToFQDN()public boolean isForceUnicode()
isForceUnicode in interface ConfigurationConfiguration.isForceUnicode()public boolean isUseUnicode()
isUseUnicode in interface ConfigurationConfiguration.isUseUnicode()public boolean isUseBatching()
isUseBatching in interface ConfigurationConfiguration.isUseBatching()public String getNativeOs()
getNativeOs in interface ConfigurationConfiguration.getNativeOs()public String getNativeLanman()
getNativeLanman in interface ConfigurationConfiguration.getNativeLanman()public int getMaximumBufferSize()
getMaximumBufferSize in interface ConfigurationConfiguration.getMaximumBufferSize()@Deprecated public int getRecieveBufferSize()
getRecieveBufferSize in interface Configurationpublic int getReceiveBufferSize()
getReceiveBufferSize in interface ConfigurationConfiguration.getReceiveBufferSize()public int getSendBufferSize()
getSendBufferSize in interface ConfigurationConfiguration.getSendBufferSize()public int getNotifyBufferSize()
getNotifyBufferSize in interface ConfigurationConfiguration.getNotifyBufferSize()public int getSoTimeout()
getSoTimeout in interface ConfigurationConfiguration.getSoTimeout()public int getResponseTimeout()
getResponseTimeout in interface ConfigurationConfiguration.getResponseTimeout()public int getConnTimeout()
getConnTimeout in interface ConfigurationConfiguration.getConnTimeout()public int getSessionTimeout()
getSessionTimeout in interface ConfigurationConfiguration.getSessionTimeout()public int getLocalPort()
getLocalPort in interface ConfigurationConfiguration.getLocalPort()public InetAddress getLocalAddr()
getLocalAddr in interface ConfigurationConfiguration.getLocalAddr()public String getNetbiosHostname()
getNetbiosHostname in interface ConfigurationConfiguration.getNetbiosHostname()public String getLogonShare()
getLogonShare in interface ConfigurationConfiguration.getLogonShare()public String getDefaultDomain()
getDefaultDomain in interface ConfigurationConfiguration.getDefaultDomain()public String getDefaultUsername()
getDefaultUsername in interface ConfigurationConfiguration.getDefaultUsername()public String getDefaultPassword()
getDefaultPassword in interface ConfigurationConfiguration.getDefaultPassword()public boolean isDisablePlainTextPasswords()
ConfigurationisDisablePlainTextPasswords in interface ConfigurationConfiguration.isDisablePlainTextPasswords()public boolean isForceExtendedSecurity()
isForceExtendedSecurity in interface ConfigurationConfiguration.isForceExtendedSecurity()public int getLanManCompatibility()
| 0 or 1 | LM and NTLM |
| 2 | NTLM only |
| 3-5 | NTLMv2 only |
getLanManCompatibility in interface ConfigurationConfiguration.getLanManCompatibility()public boolean isAllowNTLMFallback()
isAllowNTLMFallback in interface ConfigurationConfiguration.isAllowNTLMFallback()public boolean isUseRawNTLM()
isUseRawNTLM in interface ConfigurationConfiguration.isUseRawNTLM()public boolean isDisableSpnegoIntegrity()
isDisableSpnegoIntegrity in interface ConfigurationConfiguration.isDisableSpnegoIntegrity()public boolean isEnforceSpnegoIntegrity()
isEnforceSpnegoIntegrity in interface ConfigurationConfiguration.isEnforceSpnegoIntegrity()public List<ResolverType> getResolveOrder()
getResolveOrder in interface ConfigurationResolverTypeConfiguration.getResolveOrder()public InetAddress getBroadcastAddress()
getBroadcastAddress in interface ConfigurationConfiguration.getBroadcastAddress()public InetAddress[] getWinsServers()
getWinsServers in interface ConfigurationConfiguration.getWinsServers()public int getNetbiosLocalPort()
getNetbiosLocalPort in interface ConfigurationConfiguration.getNetbiosLocalPort()public InetAddress getNetbiosLocalAddress()
getNetbiosLocalAddress in interface ConfigurationConfiguration.getNetbiosLocalAddress()public int getVcNumber()
getVcNumber in interface ConfigurationConfiguration.getVcNumber()public int getCapabilities()
getCapabilities in interface ConfigurationConfiguration.getCapabilities()public int getFlags2()
getFlags2 in interface ConfigurationConfiguration.getFlags2()public int getSessionLimit()
getSessionLimit in interface ConfigurationConfiguration.getSessionLimit()public String getOemEncoding()
getOemEncoding in interface ConfigurationConfiguration.getOemEncoding()public TimeZone getLocalTimezone()
getLocalTimezone in interface ConfigurationConfiguration.getLocalTimezone()public int getPid()
getPid in interface ConfigurationConfiguration.getPid()public int getMaxMpxCount()
getMaxMpxCount in interface ConfigurationConfiguration.getMaxMpxCount()public boolean isSigningEnabled()
isSigningEnabled in interface ConfigurationConfiguration.isSigningEnabled()public boolean isSigningEnforced()
isSigningEnforced in interface ConfigurationConfiguration.isSigningEnforced()public boolean isIpcSigningEnforced()
isIpcSigningEnforced in interface ConfigurationConfiguration.isIpcSigningEnforced()public boolean isEncryptionEnabled()
isEncryptionEnabled in interface ConfigurationConfiguration.isEncryptionEnabled()public String getLmHostsFileName()
getLmHostsFileName in interface ConfigurationConfiguration.getLmHostsFileName()public String getNetbiosScope()
getNetbiosScope in interface ConfigurationConfiguration.getNetbiosScope()public int getNetbiosSoTimeout()
getNetbiosSoTimeout in interface ConfigurationConfiguration.getNetbiosSoTimeout()public int getNetbiosSndBufSize()
getNetbiosSndBufSize in interface ConfigurationConfiguration.getNetbiosSndBufSize()public int getNetbiosRetryTimeout()
getNetbiosRetryTimeout in interface ConfigurationConfiguration.getNetbiosRetryTimeout()public int getNetbiosRetryCount()
getNetbiosRetryCount in interface ConfigurationConfiguration.getNetbiosRetryCount()public int getNetbiosRcvBufSize()
getNetbiosRcvBufSize in interface ConfigurationConfiguration.getNetbiosRcvBufSize()public int getNetbiosCachePolicy()
getNetbiosCachePolicy in interface ConfigurationConfiguration.getNetbiosCachePolicy()public int getTransactionBufferSize()
getTransactionBufferSize in interface ConfigurationConfiguration.getTransactionBufferSize()public int getBufferCacheSize()
getBufferCacheSize in interface ConfigurationConfiguration.getBufferCacheSize()public int getListCount()
getListCount in interface ConfigurationConfiguration.getListCount()public int getListSize()
getListSize in interface ConfigurationConfiguration.getListSize()public long getAttributeCacheTimeout()
getAttributeCacheTimeout in interface ConfigurationConfiguration.getAttributeCacheTimeout()public boolean isIgnoreCopyToException()
isIgnoreCopyToException in interface ConfigurationConfiguration.isIgnoreCopyToException()public int getBatchLimit(String cmd)
getBatchLimit in interface ConfigurationConfiguration.getBatchLimit(java.lang.String)public boolean isAllowCompound(String command)
isAllowCompound in interface ConfigurationConfiguration.isAllowCompound(java.lang.String)public boolean isTraceResourceUsage()
isTraceResourceUsage in interface ConfigurationConfiguration.isTraceResourceUsage()public boolean isStrictResourceLifecycle()
isStrictResourceLifecycle in interface ConfigurationConfiguration.isStrictResourceLifecycle()public int getMaxRequestRetries()
getMaxRequestRetries in interface ConfigurationConfiguration.getMaxRequestRetries()public byte[] getMachineId()
getMachineId in interface ConfigurationConfiguration.getMachineId()public String getGuestUsername()
getGuestUsername in interface ConfigurationConfiguration.getGuestUsername()public String getGuestPassword()
getGuestPassword in interface ConfigurationConfiguration.getGuestPassword()public boolean isAllowGuestFallback()
isAllowGuestFallback in interface ConfigurationConfiguration.isAllowGuestFallback()Copyright © 2023. All rights reserved.