@@ -24,7 +24,7 @@ public class LoginData : IEntity
2424 #region [Private Constants]
2525
2626 /// <summary>
27- /// Full service path url format
27+ /// Full service path url format
2828 /// </summary>
2929 private const string _baseFormat = "http{0}://{1}" ;
3030 private const string _servicePathFormat = "{0}/Cxwebinterface/CxWsResolver.asmx" ;
@@ -36,7 +36,8 @@ public class LoginData : IEntity
3636 private string _serverDomain = null ;
3737 private string _server = null ;
3838 private string _serverBaseUri = null ;
39- private bool _ssl = false ;
39+ private bool _ssl = false ;
40+ private string _authenticationType = "access_control" ;
4041
4142 private EntityId _id ;
4243 private bool _isLogging ;
@@ -57,15 +58,15 @@ public class LoginData : IEntity
5758 private bool _disableConnectionOptimizations = false ;
5859
5960 SerializableDictionary < string , string > _perspectives ;
60-
61+
6162 private List < BindProject > bindedProjects ;
62- private bool _saveSastScan ;
63- private bool _manageResultsComment ;
64- private bool _manageResultsExploitability ;
63+ private bool _saveSastScan ;
64+ private bool _manageResultsComment ;
65+ private bool _manageResultsExploitability ;
6566
66- #endregion
67+ #endregion
6768
68- #region [ Constructors ]
69+ #region [ Constructors ]
6970
7071 private static LoginData loginDataInstance ;
7172
@@ -139,7 +140,7 @@ public string Server
139140 return string . Format ( _servicePathFormat , _serverBaseUri ) ;
140141 }
141142 set { _server = value ; }
142- }
143+ }
143144
144145 public string ServerBaseUri
145146 {
@@ -171,6 +172,16 @@ public bool Ssl
171172 set { _ssl = value ; }
172173 }
173174
175+ /// <summary>
176+ /// Gets or sets value indicating that Authenticationa Type Log in Form Or User Submit Form throw htts protocol
177+ /// </summary>
178+ public string AuthenticationType
179+ {
180+ get { return _authenticationType ; }
181+ set { _authenticationType = value ; }
182+ }
183+
184+
174185 /// <summary>
175186 /// Get or set Entity prorepty
176187 /// </summary>
@@ -233,8 +244,8 @@ public string UnboundRunID
233244 {
234245 get { return unboundRunID ; }
235246 set { unboundRunID = value ; }
236- }
237-
247+ }
248+
238249 public List < BindProject > BindedProjects
239250 {
240251 get { return bindedProjects ; }
@@ -260,19 +271,19 @@ public bool DisableConnectionOptimizations
260271 set { _disableConnectionOptimizations = value ; }
261272 }
262273
263- public bool SaveSastScan { get => _saveSastScan ; set => _saveSastScan = value ; }
264- public bool ManageResultsComment { get => _manageResultsComment ; set => _manageResultsComment = value ; }
265- public bool ManageResultsExploitability { get => _manageResultsExploitability ; set => _manageResultsExploitability = value ; }
274+ public bool SaveSastScan { get => _saveSastScan ; set => _saveSastScan = value ; }
275+ public bool ManageResultsComment { get => _manageResultsComment ; set => _manageResultsComment = value ; }
276+ public bool ManageResultsExploitability { get => _manageResultsExploitability ; set => _manageResultsExploitability = value ; }
266277
267- #endregion [ Properties ]
278+ #endregion [ Properties ]
268279
269- #region [ Public Methods ]
280+ #region [ Public Methods ]
270281
271- /// <summary>
272- /// Verify if user enter all data to start auth verification
273- /// </summary>
274- /// <returns></returns>
275- public bool CanLog ( )
282+ /// <summary>
283+ /// Verify if user enter all data to start auth verification
284+ /// </summary>
285+ /// <returns></returns>
286+ public bool CanLog ( )
276287 {
277288 return ( String . IsNullOrEmpty ( this . Server ) ) ? false : true ;
278289 }
@@ -298,7 +309,7 @@ public void AddProjectPerspective(string project, string perspective)
298309 Perspectives . Add ( project , perspective ) ;
299310 }
300311
301-
312+
302313
303314 /// <summary>
304315 /// Clear user auth data
0 commit comments