Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1086 for trunk


Ignore:
Timestamp:
01/07/09 16:42:21 (16 years ago)
Author:
svonolfe
Message:

modified interface (#454)

Location:
trunk/sources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/ApplicationConstants.cs

    r1024 r1086  
    66namespace HeuristicLab.Hive.Contracts {
    77  public class ApplicationConstants {
     8
     9    public static string RESPONSE_SERVERCONSOLE_LOGIN_SUCCESS = "Logged in";
     10    public static string RESPONSE_SERVERCONSOLE_LOGIN_FAILED = "Login failed";
    811
    912    public static string RESPONSE_USERROLE_GET_ALL_USERS = "UserRole.GetAllUsers";
  • trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/IServerConsoleFacade.cs

    r1084 r1086  
    3636    IUserRoleManager {
    3737    [OperationContract]
    38     bool Login(String username, String password);
     38    Response Login(String username, String password);
    3939  }
    4040}
  • trunk/sources/HeuristicLab.Hive.Server.Core/ServerConsoleFacade.cs

    r1084 r1086  
    3838    #region IServerConsoleFacade Members
    3939
    40     public bool Login(string username, string password) {
     40    public Response Login(string username, string password) {
     41      Response resp = new Response();
     42
    4143      loginName = username;
    4244
    43       return true;
     45      resp.Success = true;
     46      resp.StatusMessage =
     47        ApplicationConstants.RESPONSE_SERVERCONSOLE_LOGIN_SUCCESS;
     48
     49      return resp;
    4450    }
    4551
Note: See TracChangeset for help on using the changeset viewer.