Closed AnotherCodeArtist closed 8 years ago
Hello, I assume you are using Authzforce version 5.4.0 or later, in which case the format of IDM request to AZF for setting the root policy ID (rootPolicyRefExpression
) is no longer valid. You have to change the content of IDM's template file openstack_dashboard/templates/access_control/policy_properties.xacml
to this (basically the only change consists to remove the 'ns2' namespace prefix):
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><pdpPropertiesUpdate xmlns="http://authzforce.github.io/rest-api-model/xmlns/authz/5"><rootPolicyRefExpression>{{ policy_id }}</rootPolicyRefExpression></pdpPropertiesUpdate>
Could you try again with that configuration? Maybe you must restart the IDM dashboard first to apply the change.
Seems to be solved. Please feel free to reopen this issue otherwise.
Regards, Federico
After some while I managed to setup IdM, PEP and AuthZForce and as long as I use Level 1 Authentication everything works fine. However, enabling Level 2 leeds to the following problems:
When making a request from my demo app, the PEP log comes up with the following message:
So I initially thought that there's something wrong with PEP/WILMA but analyzing the log of AuthZForce brought me to this message that always appears when I save the role configuration in the IdM web interface (that does not come up with an error but pretends that everything is fine):
The funny thing is, that it is classified as a warning.
Here's the content of pdp.properties:
Here's the content of prp.properties:
Here's the content of
attribute.providers
:Here's the content of `policies':
All three items listed in
policies
come up with the following content: