Package com.hierynomus.smbj
Class SmbConfig
java.lang.Object
com.hierynomus.smbj.SmbConfig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final boolean
private List
<Factory.Named<Authenticator>> private GSSContextConfig
private UUID
private static final int
private static final int
private static final TimeUnit
private static final int
private static final TimeUnit
private static final TransportLayerFactory
<SMBPacketData<?>, SMBPacket<?, ?>> private boolean
private Set
<SMB2Dialect> private boolean
private NtlmConfig
private Random
private int
private long
private SecurityProvider
private boolean
private SocketFactory
private int
private int
private long
private TransportLayerFactory
<SMBPacketData<?>, SMBPacket<?, ?>> private boolean
private int
private long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SmbConfig.Builder
builder()
static SmbConfig.Builder
static SmbConfig
private static List
<Factory.Named<Authenticator>> private static SecurityProvider
int
long
int
int
long
TransportLayerFactory
<SMBPacketData<?>, SMBPacket<?, ?>> Deprecated.Moved into getNtlmConfig().getWorkStationName()int
long
boolean
boolean
boolean
Whether the client requires that messages from the server are signed.boolean
-
Field Details
-
DEFAULT_BUFFER_SIZE
private static final int DEFAULT_BUFFER_SIZE- See Also:
-
DEFAULT_SO_TIMEOUT
private static final int DEFAULT_SO_TIMEOUT- See Also:
-
DEFAULT_SO_TIMEOUT_UNIT
-
DEFAULT_TIMEOUT
private static final int DEFAULT_TIMEOUT- See Also:
-
DEFAULT_TIMEOUT_UNIT
-
DEFAULT_TRANSPORT_LAYER_FACTORY
private static final TransportLayerFactory<SMBPacketData<?>,SMBPacket<?, DEFAULT_TRANSPORT_LAYER_FACTORY?>> -
ANDROID
private static final boolean ANDROID -
dialects
-
authenticators
-
socketFactory
-
random
-
clientGuid
-
signingRequired
private boolean signingRequired -
dfsEnabled
private boolean dfsEnabled -
useMultiProtocolNegotiate
private boolean useMultiProtocolNegotiate -
securityProvider
-
readBufferSize
private int readBufferSize -
readTimeout
private long readTimeout -
writeBufferSize
private int writeBufferSize -
writeTimeout
private long writeTimeout -
transactBufferSize
private int transactBufferSize -
transportLayerFactory
-
transactTimeout
private long transactTimeout -
clientGSSContextConfig
-
encryptData
private boolean encryptData -
ntlmConfig
-
soTimeout
private int soTimeout
-
-
Constructor Details
-
SmbConfig
private SmbConfig() -
SmbConfig
-
-
Method Details
-
createDefaultConfig
-
builder
-
builder
-
getDefaultSecurityProvider
-
getDefaultAuthenticators
-
getRandomProvider
-
getSecurityProvider
-
getSupportedDialects
-
getClientGuid
-
getSupportedAuthenticators
-
isSigningRequired
public boolean isSigningRequired()Whether the client requires that messages from the server are signed. When message signing is enforced a received message that is not signed properly will result in an exception. -
isDfsEnabled
public boolean isDfsEnabled() -
isUseMultiProtocolNegotiate
public boolean isUseMultiProtocolNegotiate() -
getReadBufferSize
public int getReadBufferSize() -
getReadTimeout
public long getReadTimeout() -
getWriteBufferSize
public int getWriteBufferSize() -
getWriteTimeout
public long getWriteTimeout() -
getTransactBufferSize
public int getTransactBufferSize() -
getTransactTimeout
public long getTransactTimeout() -
getTransportLayerFactory
-
getSoTimeout
public int getSoTimeout() -
getSocketFactory
-
getClientGSSContextConfig
-
isEncryptData
public boolean isEncryptData() -
getWorkStationName
Deprecated.Moved into getNtlmConfig().getWorkStationName()Get the work station name to be used in the NTLM authentication. -
getNtlmConfig
-
getClientCapabilities
-