Click or drag to resize

IPolicyEnforcementService Interface

Represents a PEP that receives demands

Namespace: SanteDB.Core.Security.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface IPolicyEnforcementService : IServiceImplementation

The IPolicyEnforcementService type exposes the following members.

Properties
 NameDescription
Public propertyServiceName Gets the service name
(Inherited from IServiceImplementation)
Top
Methods
 NameDescription
Public methodDemand(String) Demand access to the policy for the current Current
Public methodDemand(String, IPrincipal) Demand access to the policy on behalf of principal
Public methodDemandAll Demand access to all of the permission policies or throw PolicyViolationException
Public methodDemandAny Demand access to any of the permission policies listed or throw PolicyViolationException
Public methodSoftDemand Demand the specified policy and return the result
Top
See Also