Package org.alfresco.filesys.config
Class CIFSConfigBean
- java.lang.Object
-
- org.alfresco.filesys.config.CIFSConfigBean
-
public class CIFSConfigBean extends Object
The Class CIFSConfigBean.- Author:
- dward
-
-
Constructor Summary
Constructors Constructor Description CIFSConfigBean(String terminalServerList, String loadBalancerList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>convertToIpAddressList(String addressist)Convert string of addresses to the address list.org.alfresco.jlan.server.auth.ICifsAuthenticatorgetAuthenticator()Gets the authenticator.StringgetBindToAdapter()Gets the bind to adapter.StringgetBindToAddress()Gets the bind to address.StringgetBroadcastAddress()Gets the broadcast address.booleangetDisableNativeCode()Checks if is disable native code.booleangetDisableNIO()Checks if is disable nio.StringgetDomainName()Gets the domain name.IntegergetHostAccounceInterval()Gets the host accounce interval.booleangetHostAccouncerEnabled()Checks if is host accouncer enabled.List<String>getLoadBalancerList()Gets the load balancer list address.intgetMaximumVirtualCircuits()Return the maxmimum virtual circuits per sessionNetBIOSSMBConfigBeangetNetBIOSSMB()Gets the net biossmb.StringgetServerComment()Gets the server comment.booleangetServerEnabled()Checks if is server enabled.StringgetServerName()Gets the server name.StringgetSessionDebugFlags()Gets the session debug flags.IntegergetSessionTimeout()Gets the session timeout.TcpipSMBConfigBeangetTcpipSMB()Gets the tcpip smb.List<String>getTerminalServerList()Gets the terminal server list address.IntegergetWin32HostAnnounceInterval()Gets the win32 host announce interval.booleangetWin32HostAnnouncerEnabled()Checks if is win32 host announcer enabled.Win32NetBIOSConfigBeangetWin32NetBIOS()Gets the win32 net bios.WINSConfigBeangetWINSConfig()Gets the wINS config.voidsetAuthenticator(org.alfresco.jlan.server.auth.ICifsAuthenticator authenticator)Sets the authenticator.voidsetBindToAdapter(String bindToAdapter)Sets the bind to adapter.voidsetBindToAddress(String bindToAddress)Sets the bind to address.voidsetBroadcastAddress(String broadcastAddress)Sets the broadcast address.voidsetDisableNativeCode(boolean disableNativeCode)Sets the disable native code.voidsetDisableNIO(boolean disableNIO)Sets the disable nio.voidsetDomainName(String domainName)Sets the domain name.voidsetHostAccounceInterval(Integer hostAccounceInterval)Sets the host accounce interval.voidsetHostAccouncerEnabled(boolean hostAccouncerEnabled)Sets the host accouncer enabled.voidsetMaximumVirtualCircuits(int maxVC)Set the maximum virtual circuits per sessionvoidsetNetBIOSSMB(NetBIOSSMBConfigBean netBIOSSMB)Sets the net biossmb.voidsetServerComment(String serverComment)Sets the server comment.voidsetServerEnabled(boolean serverEnabled)Sets the server enabled.voidsetServerName(String serverName)Sets the server name.voidsetSessionDebugFlags(String sessionDebugFlags)Sets the session debug flags.voidsetSessionTimeout(Integer sessionTimeout)Sets the session timeout.voidsetTcpipSMB(TcpipSMBConfigBean tcpipSMB)Sets the tcpip smb.voidsetWin32HostAnnounceInterval(Integer win32HostAnnounceInterval)Sets the win32 host announce interval.voidsetWin32HostAnnouncerEnabled(boolean win32HostAnnouncerEnabled)Sets the win32 host announcer enabled.voidsetWin32NetBIOS(Win32NetBIOSConfigBean win32NetBIOS)Sets the win32 net bios.voidsetWINSConfig(WINSConfigBean config)Sets the wINS config.voidvalidateSessionTimeout(Integer sessionTimeout)Validates the session timeout.
-
-
-
Method Detail
-
convertToIpAddressList
public List<String> convertToIpAddressList(String addressist)
Convert string of addresses to the address list.- Parameters:
addressist-
-
getTerminalServerList
public List<String> getTerminalServerList()
Gets the terminal server list address.- Returns:
- the terminal server list address
-
getLoadBalancerList
public List<String> getLoadBalancerList()
Gets the load balancer list address.- Returns:
- the load balancer list address
-
getServerEnabled
public boolean getServerEnabled()
Checks if is server enabled.- Returns:
- true, if is server enabled
-
setServerEnabled
public void setServerEnabled(boolean serverEnabled)
Sets the server enabled.- Parameters:
serverEnabled- the new server enabled
-
getDisableNativeCode
public boolean getDisableNativeCode()
Checks if is disable native code.- Returns:
- true, if is disable native code
-
setDisableNativeCode
public void setDisableNativeCode(boolean disableNativeCode)
Sets the disable native code.- Parameters:
disableNativeCode- the new disable native code
-
getBroadcastAddress
public String getBroadcastAddress()
Gets the broadcast address.- Returns:
- the broadcast address
-
setBroadcastAddress
public void setBroadcastAddress(String broadcastAddress)
Sets the broadcast address.- Parameters:
broadcastAddress- the new broadcast address
-
getServerName
public String getServerName()
Gets the server name.- Returns:
- the server name
-
setServerName
public void setServerName(String serverName)
Sets the server name.- Parameters:
serverName- the new server name
-
getDomainName
public String getDomainName()
Gets the domain name.- Returns:
- the domain name
-
setDomainName
public void setDomainName(String domainName)
Sets the domain name.- Parameters:
domainName- the new domain name
-
getServerComment
public String getServerComment()
Gets the server comment.- Returns:
- the server comment
-
setServerComment
public void setServerComment(String serverComment)
Sets the server comment.- Parameters:
serverComment- the new server comment
-
getBindToAdapter
public String getBindToAdapter()
Gets the bind to adapter.- Returns:
- the bind to adapter
-
setBindToAdapter
public void setBindToAdapter(String bindToAdapter)
Sets the bind to adapter.- Parameters:
bindToAdapter- the new bind to adapter
-
getBindToAddress
public String getBindToAddress()
Gets the bind to address.- Returns:
- the bind to address
-
setBindToAddress
public void setBindToAddress(String bindToAddress)
Sets the bind to address.- Parameters:
bindToAddress- the new bind to address
-
getAuthenticator
public org.alfresco.jlan.server.auth.ICifsAuthenticator getAuthenticator()
Gets the authenticator.- Returns:
- the authenticator
-
setAuthenticator
public void setAuthenticator(org.alfresco.jlan.server.auth.ICifsAuthenticator authenticator)
Sets the authenticator.- Parameters:
authenticator- the new authenticator
-
getHostAccouncerEnabled
public boolean getHostAccouncerEnabled()
Checks if is host accouncer enabled.- Returns:
- true, if is host accouncer enabled
-
setHostAccouncerEnabled
public void setHostAccouncerEnabled(boolean hostAccouncerEnabled)
Sets the host accouncer enabled.- Parameters:
hostAccouncerEnabled- the new host accouncer enabled
-
getHostAccounceInterval
public Integer getHostAccounceInterval()
Gets the host accounce interval.- Returns:
- the host accounce interval
-
setHostAccounceInterval
public void setHostAccounceInterval(Integer hostAccounceInterval)
Sets the host accounce interval.- Parameters:
hostAccounceInterval- the new host accounce interval
-
getNetBIOSSMB
public NetBIOSSMBConfigBean getNetBIOSSMB()
Gets the net biossmb.- Returns:
- the net biossmb
-
setNetBIOSSMB
public void setNetBIOSSMB(NetBIOSSMBConfigBean netBIOSSMB)
Sets the net biossmb.- Parameters:
netBIOSSMB- the new net biossmb
-
getTcpipSMB
public TcpipSMBConfigBean getTcpipSMB()
Gets the tcpip smb.- Returns:
- the tcpip smb
-
getMaximumVirtualCircuits
public int getMaximumVirtualCircuits()
Return the maxmimum virtual circuits per session- Returns:
- int
-
setTcpipSMB
public void setTcpipSMB(TcpipSMBConfigBean tcpipSMB)
Sets the tcpip smb.- Parameters:
tcpipSMB- the new tcpip smb
-
getWin32NetBIOS
public Win32NetBIOSConfigBean getWin32NetBIOS()
Gets the win32 net bios.- Returns:
- the win32 net bios
-
setWin32NetBIOS
public void setWin32NetBIOS(Win32NetBIOSConfigBean win32NetBIOS)
Sets the win32 net bios.- Parameters:
win32NetBIOS- the new win32 net bios
-
getWin32HostAnnouncerEnabled
public boolean getWin32HostAnnouncerEnabled()
Checks if is win32 host announcer enabled.- Returns:
- true, if is win32 host announcer enabled
-
setWin32HostAnnouncerEnabled
public void setWin32HostAnnouncerEnabled(boolean win32HostAnnouncerEnabled)
Sets the win32 host announcer enabled.- Parameters:
win32HostAnnouncerEnabled- the new win32 host announcer enabled
-
getWin32HostAnnounceInterval
public Integer getWin32HostAnnounceInterval()
Gets the win32 host announce interval.- Returns:
- the win32 host announce interval
-
setWin32HostAnnounceInterval
public void setWin32HostAnnounceInterval(Integer win32HostAnnounceInterval)
Sets the win32 host announce interval.- Parameters:
win32HostAnnounceInterval- the new win32 host announce interval
-
getWINSConfig
public WINSConfigBean getWINSConfig()
Gets the wINS config.- Returns:
- the wINS config
-
setWINSConfig
public void setWINSConfig(WINSConfigBean config)
Sets the wINS config.- Parameters:
config- the new wINS config
-
getSessionDebugFlags
public String getSessionDebugFlags()
Gets the session debug flags.- Returns:
- the session debug flags
-
setSessionDebugFlags
public void setSessionDebugFlags(String sessionDebugFlags)
Sets the session debug flags.- Parameters:
sessionDebugFlags- the new session debug flags
-
getDisableNIO
public boolean getDisableNIO()
Checks if is disable nio.- Returns:
- true, if is disable nio
-
setDisableNIO
public void setDisableNIO(boolean disableNIO)
Sets the disable nio.- Parameters:
disableNIO- the new disable nio
-
getSessionTimeout
public Integer getSessionTimeout()
Gets the session timeout.- Returns:
- the session timeout
-
setSessionTimeout
public void setSessionTimeout(Integer sessionTimeout)
Sets the session timeout.- Parameters:
sessionTimeout- the new session timeout
-
validateSessionTimeout
public void validateSessionTimeout(Integer sessionTimeout)
Validates the session timeout.- Parameters:
sessionTimeout- the session timeout to validate
-
setMaximumVirtualCircuits
public void setMaximumVirtualCircuits(int maxVC)
Set the maximum virtual circuits per session- Parameters:
maxVC- int
-
-