Policy Decision Provider (PDP)

IPolicyDecisionService in assembly SanteDB.Core.Api version 3.0.1980.0

Summary

Represents a policy decision service

Operations

Operation
Response/Return
Input/Parameter
Description

GetEffectivePolicySet

IEnumerable<IPolicyInstance>

IPrincipal securable

Get all active policies for the specified securable type

GetPolicyDecision

PolicyDecision

IPrincipal principal Object securable

Make a simple policy decision for a specific securable

GetPolicyOutcome

PolicyGrantType

IPrincipal principal String policyId

Get a policy decision outcome (i.e. make a policy decision)

ClearCache

void

IPrincipal principal

Clear the policy cache for the specified principal

ClearCache

void

String principalName

Clear the policy cache for the specified principal

Implementations

ClientPolicyDecisionProviderService - (SanteDB.Client.Disconnected)

Represents a PDP service which can map between server permissions and the client permissions

Service Registration

...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
	<serviceProviders>
		...
		<add type="SanteDB.Client.Disconnected.Services.ClientPolicyDecisionProviderService, SanteDB.Client.Disconnected, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
		...
	</serviceProviders>

Default PDP Service - (SanteDB.Core.Api)

Local policy decision service

Service Registration

Example Implementation

References

Last updated

Was this helpful?