Rev | Line | |
---|
[1769] | 1 | using System;
|
---|
| 2 | namespace HeuristicLab.Hive.Server.Core.InternalInterfaces {
|
---|
| 3 | public interface IHivePermissionManager {
|
---|
[2065] | 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);
|
---|
[1769] | 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.