summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"