Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Text;
|
---|
4 | using System.ServiceModel;
|
---|
5 |
|
---|
6 | namespace 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.