Closed Joao-Parente closed 2 years ago
Thanks for reporting this. Looks like a bug in AuthzForce Server. I am preparing a new release with the latest version of AuthzForce Core (which was a bit outdated) that should include a fix for this issue.
In the meantime, you can use this workaround: change the AttributeSelector Path to this:
/*:record/*:parentGuardian/*:parentGuardianId/text()
I was trying to insert a policy in Authzforce 10.1.1 that uses attribute selectors, but with no success. I tried the same policy in the Core CLI 20.0.0, and it worked and even tested it with a request.
Policy:
AuthZforce returns:
If I go check the /var/log/tomcat9/error.log it says: error.log
But I think that the "md" namespace is declared with
xmlns:md="urn:example:med:schemas:record"
in line 2 of the policy.