Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting 'Not Applicable 'in WSO2 Identity Server 4.0.0
    primarykey
    data
    text
    <p>I am working on this link in WSO2 IDS 4.0.0.</p> <p><a href="http://malalanayake.wordpress.com/2013/02/13/authentication-and-authorization-with-wso2esb-and-wso2is/" rel="nofollow">http://malalanayake.wordpress.com/2013/02/13/authentication-and-authorization-with-wso2esb-and-wso2is/</a></p> <blockquote> <p>I develop the service as per above link In WSO2 IDS 4.0.0 Server evaluate the policy through the Tryit.</p> <p>I entering same data and click on TEST EVALUTE.</p> <p>Showing an error ” No applicable policies were found for the request”.</p> <p>Can you anyone explain me where did i mistake.</p> </blockquote> <p>Here i am sending my XCML Policy file.</p> <pre><code>&lt;Policy xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" PolicyId="EchoServicePolicy" RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:first-applicable" Version="1.0"&gt; &lt;Target&gt; &lt;AnyOf&gt; &lt;AllOf&gt; &lt;Match MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"&gt; &lt;AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string"&gt;testRole&lt;/AttributeValue&gt; &lt;AttributeDesignator AttributeId="http://wso2.org/claims/role" Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="true"/&gt; &lt;/Match&gt; &lt;/AllOf&gt; &lt;/AnyOf&gt; &lt;/Target&gt; &lt;Rule Effect="Permit" RuleId="Rule-1"&gt; &lt;Target&gt; &lt;AnyOf&gt; &lt;AllOf&gt; &lt;Match MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"&gt; &lt;AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string"&gt;read&lt;/AttributeValue&gt; &lt;AttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id" Category="urn:oasis:names:tc:xacml:3.0:attribute-category:action" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="true"/&gt; &lt;/Match&gt; &lt;/AllOf&gt; &lt;/AnyOf&gt; &lt;/Target&gt; &lt;/Rule&gt; &lt;/Policy&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload