同じ XACML リクエストで 2 つのアクションを指定できますか?
この質問は、次の例から来ています。私は次のことをしたい:
- 次のようなポリシーを定義します: U は、リソース D から READ OR WRITE 関数を使用できます (ポリシーの例は、この以前の投稿で入手できます
- 次のような要求を定義します: U は READ AND DELETE (またはその他の許可されていないアクション) を使用したい
- 応答として取得: 拒否
だからここにリクエストがあります:
<Request xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" CombinedDecision="false" ReturnPolicyIdList="false">
<Attributes Category="urn:oasis:names:tc:xacml:3.0:attribute-category:action">
<Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id" IncludeInResult="false">
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">read</AttributeValue>
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">delete</AttributeValue>
</Attribute>
</Attributes>
<Attributes Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject">
<Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" IncludeInResult="false">
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">u</AttributeValue>
</Attribute>
</Attributes>
<Attributes Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource">
<Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id" IncludeInResult="false">
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">d</AttributeValue>
</Attribute>
</Attributes>
</Request>
もう一度質問ですが、そのような XACML リクエスト (つまり、U が読み取りと削除を同時に要求する) を行うことはできますか?