Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Tests/Mocks/MockAuthorizationManager.cs @ 5106

Last change on this file since 5106 was 5095, checked in by cneumuel, 14 years ago

#1233

  • fixed config merge process
  • worked on hive server test setup
File size: 510 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace HeuristicLab.Services.Hive.Tests.Mocks {
7  public class MockAuthorizationManager : IAuthorizationManager {
8    private Guid userId = new Guid("6C7911A1-46EA-4E51-97DF-5582653AAFCE");
9
10    public Guid UserId {
11      get { return userId; }
12    }
13
14    public void AuthorizeJobs(params Guid[] jobId) {
15      // o.k.
16    }
17
18    public void Authorize(Guid userId) {
19      // o.k.
20    }
21
22  }
23}
Note: See TracBrowser for help on using the repository browser.