summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-05-21 23:52:55 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-05-21 23:52:55 +0000
commit1434b39e33ca237516c758197ffb33b90b84517f (patch)
tree8ea9e4f86c2af491441bf234ab6151f45fbf70fb /branches/sca-java-1.x/modules
parentbccaf1babea8a9213574f710ff78598bdaa14aad (diff)
Adding authorization intent to use for restricting an operation to be run only when user has a specific role
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@777324 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules')
-rw-r--r--branches/sca-java-1.x/modules/policy-security/src/main/resources/org/apache/tuscany/sca/policy/security/definitions.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/policy-security/src/main/resources/org/apache/tuscany/sca/policy/security/definitions.xml b/branches/sca-java-1.x/modules/policy-security/src/main/resources/org/apache/tuscany/sca/policy/security/definitions.xml
index f8f0634a9a..516bedeadf 100644
--- a/branches/sca-java-1.x/modules/policy-security/src/main/resources/org/apache/tuscany/sca/policy/security/definitions.xml
+++ b/branches/sca-java-1.x/modules/policy-security/src/main/resources/org/apache/tuscany/sca/policy/security/definitions.xml
@@ -29,6 +29,16 @@
<policySet name="permitAll" appliesTo="sca:implementation.java"/>
<policySet name="denyAll" appliesTo="sca:implementation.java"/>
+ <!-- Policy Intents Defined by the SCA Runtime -->
+ <intent name="authorization"
+ constrains="sca:implementation.java">
+ <description>
+ Specifying this intent on references requires necessary authentication information
+ to be sent along with outgoing messages. Specifying this intent on service requires
+ incoming messages to be authenticated
+ </description>
+ </intent>
+
<!-- Policy Intents Defined by the SCA Runtime -->
<intent name="authentication"
constrains="sca:binding tuscany:binding">