WSO2 Identity Server XACML请求给出不确定的响应

时间:2013-07-30 23:01:30

标签: wso2 xacml wso2is

我正在使用示例政策:

  

https://svn.wso2.org/repos/wso2/trunk/commons/balana/modules/balana-core/src/test/resources/basic/3/policies/TestPolicy_0001.xml

以及来自:

的样品申请
  

https://svn.wso2.org/repos/wso2/trunk/commons/balana/modules/balana-core/src/test/resources/basic/3/requests/request_0001_02.xml

从WSO2身份服务器获取不确定响应,声明“找不到AttributeDesignator属性”

<Response xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17">
<Result>
<Decision>Indeterminate</Decision>
<Status>
<StatusCode Value="urn:oasis:names:tc:xacml:1.0:status:missing-attribute"/>
<StatusMessage>Couldn't find AttributeDesignator attribute</StatusMessage>
<StatusDetail>
<MissingAttributeDetail AttributeId="http://kmarket.com/id/role" DataType="http://www.w3.org/2001/XMLSchema#string" Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" ></MissingAttributeDetail>
</StatusDetail>
</Status>
</Result>
</Response>

不确定我缺少什么

1 个答案:

答案 0 :(得分:2)

如果在请求中发送'urn:oasis:names:tc:xacml:1.0:subject-category:access-subject'属性,则将解决此问题。您可以在我的博客{(3}}

中将一系列带有示例请求和回复的政策作为一系列报道