Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive 3.3/HeuristicLab.Hive.Server.Core/3.2/InternalInterfaces/IHivePermissionManager.cs @ 4060

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

created folders, copied Hive.Server.Core and Hive.Client.Core (#1091)

File size: 715 bytes
Line 
1using System;
2namespace HeuristicLab.Hive.Server.Core.InternalInterfaces {
3  public interface IHivePermissionManager {
4    /// <summary>
5    /// Checks user permission against predefined policy in database.
6    /// </summary>
7    /// <param name="permission">the name of policy defined in xml-file</param>
8    /// <param name="sessionID">the users current session ID</param>
9    /// <param name="entityID"></param>
10    /// <exception cref="PermissionException">thrown when access denied</exception>
11    void Authorize(string policyName, Guid sessionID, Guid entityID);
12    bool CheckPermission(Guid sessionID, Guid actionID, Guid entityId);
13    Guid Login(string username, string password);
14  }
15}
Note: See TracBrowser for help on using the repository browser.