[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [xacml] Multiple Decison Request Proposal
|
Hi Erik, I still believe there is potential ambiguity if there are multiple Resource (or other) elements w same resource-id but different accompanying attributes. For example you might want to test what decisions come back based on varying sets of attrs accompanying the same resource-id. The point is that the combination of category and any contained attribute values is not guaranteed to be unique in a multi-request. I think the only way to guarantee uniqueness is to assign unique identifiers to each instance of an Attributes element with common CategoryId in a given request and return these identifiers in the response generated from the decision where the instance was used. Thanks, Rich Erik Rissanen wrote: 49780C54.7050406@axiomatics.com" type="cite">Hi Hal, The IncludeInResult returns also the attribute category, so what you describe is not an issue. See the example below. Best regards, Erik 2 <xacml-ctx:Response xmlns:xacml-ctx="urn:oasis:names:tc:xacml:3.0:core:schema:wd-06"> 3 <xacml-ctx:Result> 4 <xacml-ctx:Decision>Permit</xacml-ctx:Decision> 5 <xacml-ctx:Attributes Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource"> 6 <xacml-ctx:Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" IncludeInResult="true"> 7 <xacml-ctx:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#anyURI">http://medico.com/record/patient/MargeSimpson</xacml-ctx:AttributeValue> 8 </xacml-ctx:Attribute> 9 </xacml-ctx:Attributes> 10 <xacml-ctx:Status> 11 <xacml-ctx:StatusCode Value="urn:oasis:names:tc:xacml:1.0:status:ok"/> 12 </xacml-ctx:Status> 13 </xacml-ctx:Result> 14 <xacml-ctx:Result> 15 <xacml-ctx:Decision>NotApplicable</xacml-ctx:Decision> 16 <xacml-ctx:Attributes Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource"> 17 <xacml-ctx:Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" IncludeInResult="true"> 18 <xacml-ctx:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#anyURI">http://medico.com/record/patient/LisaSimpson</xacml-ctx:AttributeValue> 19 </xacml-ctx:Attribute> 20 </xacml-ctx:Attributes> 21 <xacml-ctx:Status> 22 <xacml-ctx:StatusCode Value="urn:oasis:names:tc:xacml:1.0:status:ok"/> 23 </xacml-ctx:Status> 24 </xacml-ctx:Result> 25 <xacml-ctx:Result> 26 <xacml-ctx:Decision>Permit</xacml-ctx:Decision> 27 <xacml-ctx:Attributes Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource"> 28 <xacml-ctx:Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" IncludeInResult="true"> 29 <xacml-ctx:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#anyURI">http://medico.com/record/patient/HomerSimpson</xacml-ctx:AttributeValue> 30 </xacml-ctx:Attribute> 31 </xacml-ctx:Attributes> 32 <xacml-ctx:Status> 33 <xacml-ctx:StatusCode Value="urn:oasis:names:tc:xacml:1.0:status:ok"/> 34 </xacml-ctx:Status> 35 </xacml-ctx:Result> 36 <xacml-ctx:Result> 37 <xacml-ctx:Decision>Permit</xacml-ctx:Decision> 38 <xacml-ctx:Attributes Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource"> 39 <xacml-ctx:Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" IncludeInResult="true"> 40 <xacml-ctx:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#anyURI">http://medico.com/record/patient/BartSimpson</xacml-ctx:AttributeValue> 41 </xacml-ctx:Attribute> 42 </xacml-ctx:Attributes> 43 <xacml-ctx:Status> 44 <xacml-ctx:StatusCode Value="urn:oasis:names:tc:xacml:1.0:status:ok"/> 45 </xacml-ctx:Status> 46 </xacml-ctx:Result> 47 <xacml-ctx:Result> 48 <xacml-ctx:Decision>NotApplicable</xacml-ctx:Decision> 49 <xacml-ctx:Attributes Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource"> 50 <xacml-ctx:Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" IncludeInResult="true"> 51 <xacml-ctx:AttributeValue DataType="http://www.w3.org/2001/XMLSchema#anyURI">http://medico.com/record/patient/MaggieSimpson</xacml-ctx:AttributeValue> 52 </xacml-ctx:Attribute> 53 </xacml-ctx:Attributes> 54 <xacml-ctx:Status> 55 <xacml-ctx:StatusCode Value="urn:oasis:names:tc:xacml:1.0:status:ok"/> 56 </xacml-ctx:Status> 57 </xacml-ctx:Result> 58 </xacml-ctx:Response> Hal Lockhart wrote: |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]