Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/18/12 12:00:21 (13 years ago)
Author:
ascheibe
Message:

#1648

  • added a service locator for access services
  • fixed role verifier interface
Location:
branches/ClientUserManagement/HeuristicLab.Services.Access/3.3
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/HeuristicLab.Services.Access-3.3.csproj

    r7356 r7358  
    5454  </ItemGroup>
    5555  <ItemGroup>
     56    <Compile Include="AccessServiceLocator.cs" />
    5657    <Compile Include="Convert.cs" />
    5758    <Compile Include="DataTransfer\Client.cs" />
     
    7374    <Compile Include="DataTransfer\UserGroupMapping.cs" />
    7475    <Compile Include="IAccessService.cs" />
     76    <Compile Include="Interfaces\IAccessServiceLocator.cs" />
    7577    <Compile Include="Interfaces\IRoleVerifier.cs" />
    7678    <Compile Include="Interfaces\IUserManager.cs" />
  • branches/ClientUserManagement/HeuristicLab.Services.Access/3.3/Interfaces/IRoleVerifier.cs

    r7355 r7358  
    2020#endregion
    2121
    22 
    2322namespace HeuristicLab.Services.Access {
    2423  public interface IRoleVerifier {
    25 
     24    bool IsInRole(string role);
     25    bool IsInAnyRole(params string[] roles);
     26    bool IsInAllRoles(params string[] roles);
     27    void AuthenticateForAnyRole(params string[] roles);
     28    void AuthenticateForAllRoles(params string[] roles);
    2629  }
    2730}
Note: See TracChangeset for help on using the changeset viewer.