Class SmbConfig

java.lang.Object
com.hierynomus.smbj.SmbConfig

public final class SmbConfig extends Object
  • Method Details

    • createDefaultConfig

      public static SmbConfig createDefaultConfig()
    • builder

      public static SmbConfig.Builder builder()
    • builder

      public static SmbConfig.Builder builder(SmbConfig baseConfig)
    • getRandomProvider

      public Random getRandomProvider()
    • getSecurityProvider

      public SecurityProvider getSecurityProvider()
    • getSupportedDialects

      public Set<SMB2Dialect> getSupportedDialects()
    • getClientGuid

      public UUID getClientGuid()
    • getSupportedAuthenticators

      public List<Factory.Named<Authenticator>> 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

      public TransportLayerFactory<SMBPacketData<?>, SMBPacket<?,?>> getTransportLayerFactory()
    • getSoTimeout

      public int getSoTimeout()
    • getSocketFactory

      public SocketFactory getSocketFactory()
    • getClientGSSContextConfig

      public GSSContextConfig getClientGSSContextConfig()
    • isEncryptData

      public boolean isEncryptData()
    • getWorkStationName

      public String getWorkStationName()
      Deprecated.
      Moved into getNtlmConfig().getWorkStationName()
      Get the work station name to be used in the NTLM authentication.
    • getNtlmConfig

      public NtlmConfig getNtlmConfig()
    • getClientCapabilities

      public Set<SMB2GlobalCapability> getClientCapabilities()