[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [xacml] JSON mapping choices
David, From: xacml@lists.oasis-open.org [mailto:xacml@lists.oasis-open.org] On Behalf Of David Brossard Sent: Tuesday, June 12, 2012 5:07 AM To: Danny Thorpe Cc: xacml@lists.oasis-open.org Subject: Re: [xacml] JSON mapping choices > { > "Request": { > "Attributes": { > "Category": "urn:oasis:names:tc:xacml:1.0:subject-category:access-subject", > "Attribute": { > "Id": "user-role" Is this a short hand for urn:oasis:names:tc:xacml:2.0:subject:role? > "AttributeValue" : { > "value" : ["manager","administrator"] > } So the default DataType is "http://www.w3.org/2001/XMLSchema#string"? > } > } > "Attributes": { I don't think this is valid JSON. You should use arrays to wrap multiple objects: { "Request": [ { "Category": "urn:oasis:names:tc:xacml:1.0:subject-category:access-subject", "Attributes": [ { "Id": "user-role", "AttributeValue" : { "value" : ["manager","administrator"] } } }, { "Category": ..., "Attributes": [ ... ] } ] } Thanks, Ray
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]