Class ExtendedConfig

  • All Implemented Interfaces:
    ConfigProvider

    @ComponentProfile(summary="Extended SMB configuration")
    public class ExtendedConfig
    extends java.lang.Object
    implements ConfigProvider
    Exposes additional seetings for SMB configuration.

    Generally if they are set, then the underlying SmbConfig#builder() will have those things set against it. No validation is done on the values and you should consult the Microsoft documentation to see what they mean.

    In the adapter configuration file this class is aliased as smb-extended-config which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • ExtendedConfig

        public ExtendedConfig()
    • Method Detail

      • smbConfig

        public com.hierynomus.smbj.SmbConfig smbConfig()
                                                throws java.lang.Exception
        Specified by:
        smbConfig in interface ConfigProvider
        Throws:
        java.lang.Exception
      • getWorkstationName

        public java.lang.String getWorkstationName()
      • setWorkstationName

        public void setWorkstationName​(java.lang.String workstationName)
      • getSigningRequired

        public java.lang.Boolean getSigningRequired()
      • setSigningRequired

        public void setSigningRequired​(java.lang.Boolean signingRequired)
      • getDfsEnabled

        public java.lang.Boolean getDfsEnabled()
      • setDfsEnabled

        public void setDfsEnabled​(java.lang.Boolean dfsEnabled)
      • getMultiProtocolNegotiate

        public java.lang.Boolean getMultiProtocolNegotiate()
      • setMultiProtocolNegotiate

        public void setMultiProtocolNegotiate​(java.lang.Boolean multiProtocolNegotiate)
      • getBufferSize

        public java.lang.Integer getBufferSize()
        Effectively sets the Read/Write/Transact Buffersize.
      • setBufferSize

        public void setBufferSize​(java.lang.Integer bufferSize)
        Effectively sets the Read/Write/Transact Buffersize.
      • setSoTimeout

        public void setSoTimeout​(TimeInterval soTimeout)
      • getTimeout

        public TimeInterval getTimeout()
        Effectively sets the Read/Write/Transact timeout.
      • setTimeout

        public void setTimeout​(TimeInterval timeout)
        Effectively sets the Read/Write/Transact timeout.