Changeset 1086
- Timestamp:
- 01/07/09 16:42:21 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Contracts/ApplicationConstants.cs
r1024 r1086 6 6 namespace HeuristicLab.Hive.Contracts { 7 7 public class ApplicationConstants { 8 9 public static string RESPONSE_SERVERCONSOLE_LOGIN_SUCCESS = "Logged in"; 10 public static string RESPONSE_SERVERCONSOLE_LOGIN_FAILED = "Login failed"; 8 11 9 12 public static string RESPONSE_USERROLE_GET_ALL_USERS = "UserRole.GetAllUsers"; -
trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/IServerConsoleFacade.cs
r1084 r1086 36 36 IUserRoleManager { 37 37 [OperationContract] 38 boolLogin(String username, String password);38 Response Login(String username, String password); 39 39 } 40 40 } -
trunk/sources/HeuristicLab.Hive.Server.Core/ServerConsoleFacade.cs
r1084 r1086 38 38 #region IServerConsoleFacade Members 39 39 40 public bool Login(string username, string password) { 40 public Response Login(string username, string password) { 41 Response resp = new Response(); 42 41 43 loginName = username; 42 44 43 return true; 45 resp.Success = true; 46 resp.StatusMessage = 47 ApplicationConstants.RESPONSE_SERVERCONSOLE_LOGIN_SUCCESS; 48 49 return resp; 44 50 } 45 51
Note: See TracChangeset
for help on using the changeset viewer.