Class SmbConfig
java.lang.Object
com.hierynomus.smbj.SmbConfig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final booleanprivate List<Factory.Named<Authenticator>> private GSSContextConfigprivate UUIDprivate static final intprivate static final intprivate static final TimeUnitprivate static final intprivate static final TimeUnitprivate static final TransportLayerFactory<SMBPacketData<?>, SMBPacket<?, ?>> private booleanprivate Set<SMB2Dialect> private booleanprivate NtlmConfigprivate Randomprivate intprivate longprivate SecurityProviderprivate booleanprivate booleanprivate SocketFactoryprivate intprivate intprivate longprivate TransportLayerFactory<SMBPacketData<?>, SMBPacket<?, ?>> private booleanprivate intprivate long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SmbConfig.Builderbuilder()static SmbConfig.Builderstatic SmbConfigprivate static List<Factory.Named<Authenticator>> private static SecurityProviderintlongintintlongTransportLayerFactory<SMBPacketData<?>, SMBPacket<?, ?>> Deprecated.Moved into getNtlmConfig().getWorkStationName()intlongbooleanWhether the client should use the DFS protocol.booleanbooleanWhether the client should sign messages to the server.booleanWhether 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 -
signingEnabled
private boolean signingEnabled -
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. -
isSigningEnabled
public boolean isSigningEnabled()Whether the client should sign messages to the server. When message signing is enabled the client will sign messages to the server. -
isDfsEnabled
public boolean isDfsEnabled()Whether the client should use the DFS protocol. -
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
-