@@ -19,6 +19,13 @@ public class LoginData : IEntity
1919 /// </summary>
2020 public const int DEFAULT_LANGUAGE_CODE = 1033 ;
2121
22+ /// <summary>
23+ /// Proxy type constants
24+ /// </summary>
25+ public const string PROXY_TYPE_NONE = "None" ;
26+ public const string PROXY_TYPE_HTTP = "http" ;
27+ public const string PROXY_TYPE_PAC = "pac" ;
28+
2229 #endregion
2330
2431 #region [Private Constants]
@@ -39,6 +46,11 @@ public class LoginData : IEntity
3946 private bool _ssl = false ;
4047 private string _authenticationType = "access_control" ;
4148
49+ private string _proxyType = PROXY_TYPE_NONE ;
50+ private string _proxyLocation = null ;
51+ private string _noProxyList = null ;
52+
53+
4254 private EntityId _id ;
4355 private bool _isLogging ;
4456 string unboundRunID ;
@@ -49,8 +61,8 @@ public class LoginData : IEntity
4961 private SimpleDecision _isRunScanInBackground ;
5062 private SimpleDecision _isOpenPerspective ;
5163
52- private string [ ] _excludeFileExt = "bak,tmp,aac,aif,iff,m3u,mid,mp3,mpa,ra,wav,wma,3g2,3gp,asf,asx,avi,flv,mov,mp4,mpg,rm,swf,vob,wmv,bmp,gif,jpg,png,psd,tif,swf,jar,zip,rar,exe,dll,pdb,7z,gz,tar.gz,tar,gz,ahtm,ahtml,fhtml,hdm,hdml,hsql,ht,hta,htc,htd,htmls,ihtml,mht,mhtm,mhtml,ssi,stm,stml,ttml,txn,xhtm,xhtml" . Split ( ',' ) ;
53- private string [ ] _excludeFolder = "bin,obj,.svn,_svn,backup" . Split ( ',' ) ;
64+ private string [ ] _excludeFileExt = "bak,tmp,aac,aif,iff,m3u,mid,mp3,mpa,ra,wav,wma,3g2,3gp,asf,asx,avi,flv,mov,mp4,mpg,rm,swf,vob,wmv,bmp,gif,jpg,png,psd,tif,swf,jar,zip,rar,exe,dll,pdb,7z,gz,tar.gz,tar,gz,ahtm,ahtml,fhtml,hdm,hdml,hsql,ht,hta,htc,htd,htmls,ihtml,mht,mhtm,mhtml,ssi,stm,stml,ttml,txn,xhtm,xhtml,log,CxVsPlugin.conf " . Split ( ',' ) ;
65+ private string [ ] _excludeFolder = "bin,obj,.svn,_svn,backup,GpuCache,DawnCache,.vs " . Split ( ',' ) ;
5466
5567 private int _reconnectInterval = 15 ;
5668 private int _reconnectCount = 3 ;
@@ -183,6 +195,35 @@ public string AuthenticationType
183195 set { _authenticationType = value ; }
184196 }
185197
198+ /// <summary>
199+ /// Gets or sets value indicating the type of the proxy server none, http or pac
200+ /// </summary>
201+ public string ProxyType
202+ {
203+ get { return _proxyType ; }
204+ set { _proxyType = value ; }
205+ }
206+
207+ /// <summary>
208+ /// Gets or sets value indicating the url of the http or pac proxy.
209+ /// </summary>
210+ public string ProxyLocation
211+ {
212+ get { return _proxyLocation ; }
213+ set { _proxyLocation = value ; }
214+ }
215+
216+ /// <summary>
217+ /// Gets or sets value indicating the hosts that should be excluded from the proxy
218+ /// </summary>
219+ public string NoProxyList
220+ {
221+ get { return _noProxyList ; }
222+ set { _noProxyList = value ; }
223+ }
224+
225+
226+
186227
187228 /// <summary>
188229 /// Get or set Entity prorepty
@@ -387,5 +428,6 @@ public bool IsPublic
387428 public List < ScanReportInfo > ScanReports { get { return scanReports ; } set { scanReports = value ; } }
388429 }
389430
431+
390432 }
391433}
0 commit comments