Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/09 12:06:02 (15 years ago)
Author:
mbecirov
Message:

#586: Added authorization components.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/InternalInterfaces/IHivePermissionManager.cs

    r1769 r2065  
    22namespace HeuristicLab.Hive.Server.Core.InternalInterfaces {
    33  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);
    412    bool CheckPermission(Guid sessionID, Guid actionID, Guid entityId);
    513    Guid Login(string username, string password);
Note: See TracChangeset for help on using the changeset viewer.