summaryrefslogtreecommitdiffstats
path: root/sandbox/lresende
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-07-27 22:08:11 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-07-27 22:08:11 +0000
commit5865816a3a1066fe90c4ef143de39c481a3ec8b1 (patch)
tree74ab0786c860a872e46fb37ee8f9df7ea5c4b0e4 /sandbox/lresende
parent74e1c417b4408caedba4aed4c2c475e2f474c588 (diff)
Adding a new policySet to validate scenario where multiple policySets are available and there is one explicit one defined in the composite
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@798305 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/lresende')
-rw-r--r--sandbox/lresende/sca/samples/store-secure-webapp/src/main/resources/definitions.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/sandbox/lresende/sca/samples/store-secure-webapp/src/main/resources/definitions.xml b/sandbox/lresende/sca/samples/store-secure-webapp/src/main/resources/definitions.xml
index 119bb44151..55789c8443 100644
--- a/sandbox/lresende/sca/samples/store-secure-webapp/src/main/resources/definitions.xml
+++ b/sandbox/lresende/sca/samples/store-secure-webapp/src/main/resources/definitions.xml
@@ -56,6 +56,12 @@
</tuscany:ldapRealmAuthentication>
</policySet>
+ <policySet xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ name="allowUser"
+ provides="sca:authorization"
+ appliesTo="sca:implementation.java">
+ <allow roles="user"/>
+ </policySet>
<policySet xmlns="http://www.osoa.org/xmlns/sca/1.0"
name="allowManager"