I'm learning XACML 3.0 and want to ask, if I have two attributes with different ID But in the same category i.e (Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource"), this interpretation as two different attributes for the same category or as two separate request with a single attribute.
Thank you .
If you create a XACML request with 4 different categories (e.g. Subject, Action, Resource, and Environment) and you add one or more attributes per category, then you will always obtain a single request and therefore a single response.
Example:
The aforementioned XACML request means
If you create a XACML request where you repeat a category several times, then you are building a Multiple Decision Request. For instance we could ask
In XACML this would become:
Note that the order of the categories do not matter. You can also give your categories XML identifiers and create a XACML multiple decision request by reference but this is not as commonly used.
You will find an interesting article on the topic and on the Axiomatics SDK here.