HERAS-AF Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 20, 2012, 09:10:45 am

Login with username, password and session length
Search:     Advanced search
Welcome to the HERAS-AF Forum...
373 Posts in 89 Topics by 272 Members
Latest Member: Jasmine
* Home Help Search Login Register
+  HERAS-AF Forum
|-+  HERAS-AF
| |-+  XACML (Moderator: Florian Huonder)
| | |-+  Missing Attributes in a policyset
« previous next »
Pages: [1] Print
Author Topic: Missing Attributes in a policyset  (Read 1034 times)
Wolfgang Giersche
Newbie
*
Posts: 6



View Profile
« on: April 05, 2010, 09:54:11 pm »

Hi Flo/Rene,

I'm just wondering whether I'm getting things right. When evaluating a request that is missing an attribute that is only required by some of the involved policies, which are - let's say - combined by permitOverrides, then only the those policies requiring the missing attribute will be indeterminate. If a single policy evaluates to permit, the PDP will not send back information that an attribute is required, because the combining algorithm will be perfectly satisfied with that single permit decision.
To my opinion this behaviour would render the entire missing-attribute functionality useless in non-trivial policy deployments. Well, that is unless the PDP itself will contact the PIP itself to resolve the situation just after failing to evaluate the policy that requires the missing attribute.
In summary, that means, if at all, then it will practically always be the PDP (which is the performance bottleneck) that is responsible for resolving missing attributes, for it can't delegate to the PEP.
Have I got that right?

Rgds
Logged
Florian Huonder
Administrator
Full Member
*****
Posts: 129



View Profile WWW
« Reply #1 on: April 07, 2010, 02:11:28 pm »

Hi Wolfgang,

You are right.

The specification says for e.g. the Permit-overrides algorithm
Quote
... If an error occurs while evaluating the target of a policy, a reference to a policy is considered invalid or the policy evaluation results in "Indeterminate", then the policy set SHALL evaluate to "Indeterminate", with the appropriate error status, provided no other policies evaluate to "Permit" or "Deny". ...
.
If an error occurs (missing attribute is an error) but another policy evaluates to Permit the end-result is Permit. In my opinion the reason for this is because a decision can be made although the one policy had an error. This means that the decision could also be made if this policy would not be present. This also means that a decision can be made if this attribute (that is missing) is not present. Therefore this behavior.

Does that make sense to you?

Regards,
Florian
Logged
Wolfgang Giersche
Newbie
*
Posts: 6



View Profile
« Reply #2 on: April 07, 2010, 07:38:23 pm »

Hi Flo,

 perfectly fine. I just see the impact on performance here. It'd be much more reasonable to let the PEPs do the hard work, for their number is larger by the nature of the deployment model. On Rule level on the other hand, the spec seems to allow ignoring errors/INDETERMINATEs only if a a result without error wouldn't change a thing anyway. Not sure whether that solves the problem.

Ideally, if an error due to a missing attribute somewhere deep in the policy tree potentially changed the result of the root policy set, then the PDP should have the possibility to delegate attribute resolution to the responsible PEP, agree?

Rgds

Wolfgang
Logged
Florian Huonder
Administrator
Full Member
*****
Posts: 129



View Profile WWW
« Reply #3 on: April 08, 2010, 01:36:42 pm »

... On Rule level on the other hand, the spec seems to allow ignoring errors/INDETERMINATEs only if a a result without error wouldn't change a thing anyway. Not sure whether that solves the problem.

I am not sure if this has something to do with it. This is in my opinion simply another overriding-algorithm than the one in the policies.

Ideally, if an error due to a missing attribute somewhere deep in the policy tree potentially changed the result of the root policy set, then the PDP should have the possibility to delegate attribute resolution to the responsible PEP, agree?

This possibility is given. The PDP can be configured to not resolve missing attributes (the factory does by default not set a PIP into the PDP). In such a case the resolution of missing attributes would be delegated to the PEP.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!