Policy Decision Point
Description of the Authoirzation architecture
The Policy Decision Point is implemented in the authorization application that is deployed Altinn Platform.
The Policy Decision Point follow eXtensible Access Control Markup Language (XACML) Version 3.0.
This mean that the rules are defined in XACML Policies files and PDP evalutes request based on the rules.
The PDP evaluates the Context Request based on standard XACML 3.0 behaviour. There is no specific Altinn behaviour.
Policy Decision Point exposes a method that authorize the decision request.
PDP uses the configured context handler to enrich the decision request with attributes about the subject, resource and environment.
If instanceID or dataID is used as Resource ID PDP will use Context Handler to identifiy the correct appId, the instance workflow state and the reporteId for the existing resource.
For request for non existing instances the appId will be used and the reportee is a required input
The diagram below show the detailed flow.
- Decision Request is sent to context handler for enriching
- Context handler call PIP for resource attributes
- Context handler call PIP for subject attributes
- PRP Identifies the correct policy based on resource attributes in enriched decision request
- PDP identifyes matching rules
- PDP checks if there is any matching rules and returnes interderminate if not
- Matches the rules with subject attributes
- Verify match and return indeterminate if not
- Evaluate any conditions in policy
- If condiation does not match return indterminate
- Add any obligations to the result
- Return the decsion result
The PDP tries to follow XACML standard and have implemented some conformance tests. The goal is to fully implement all conformance test. See test here.