source: trunk/sources/HeuristicLab.Security.Contracts/3.2/Interfaces/IPermissionManager.cs @ 1738

Last change on this file since 1738 was 1738, checked in by asimon, 12 years ago

error correction (ticket #537)

File size: 682 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.ServiceModel;
5
6namespace HeuristicLab.Security.Contracts.Interfaces {
7
8  [ServiceContract]
9  public interface IPermissionManager  {
10
11    [OperationContract]
12    [FaultContractAttribute(typeof(CommunicationException))]
13    Guid Authenticate(String userName, String password);
14
15    [OperationContract]
16    [FaultContractAttribute(typeof(CommunicationException))]
17    bool CheckPermission(Guid sessionId, Guid permissionId,
18      Guid enitityId);
19
20    [OperationContract]
21    [FaultContractAttribute(typeof(CommunicationException))]
22    void EndSession(Guid sessionId);
23
24  }
25}
Note: See TracBrowser for help on using the repository browser.