- Timestamp:
- 06/21/11 16:51:03 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/Interfaces
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/Interfaces/IAuthorizationManager.cs
r6372 r6463 21 21 22 22 using System; 23 using HeuristicLab.Services.Hive.Common.DataTransfer; 23 24 namespace HeuristicLab.Services.Hive { 24 25 public interface IAuthorizationManager { 25 /// <summary>26 /// Returns the UserId of the currently authenticated user27 /// </summary>28 Guid UserId { get; }29 30 26 /// <summary> 31 27 /// Compares the current UserId with the given userId and takes appropriate actions if the mismatch 32 28 /// </summary> 33 29 void Authorize(Guid userId); 30 31 void AuthorizeForJob(Guid jobId, Permission requiredPermission); 32 33 void AuthorizeForExperiment(Guid experimentId, Permission requiredPermission); 34 34 } 35 35 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/Interfaces/IServiceLocator.cs
r6452 r6463 29 29 ILifecycleManager LifecycleManager { get; } 30 30 ITransactionManager TransactionManager { get; } 31 IUserManager UserManager { get; } 31 32 HeartbeatManager HeartbeatManager { get; } 32 33 }
Note: See TracChangeset
for help on using the changeset viewer.