You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2008/06/02 18:16:00 UTC
svn commit: r662473 - in
/incubator/tuscany/java/sca/itest/policy-security/src/main/resources:
definitions.xml helloworld.composite
Author: lresende
Date: Mon Jun 2 09:16:00 2008
New Revision: 662473
URL: http://svn.apache.org/viewvc?rev=662473&view=rev
Log:
Small update to policy-security definitions.xml to define additional policySets
Modified:
incubator/tuscany/java/sca/itest/policy-security/src/main/resources/definitions.xml
incubator/tuscany/java/sca/itest/policy-security/src/main/resources/helloworld.composite
Modified: incubator/tuscany/java/sca/itest/policy-security/src/main/resources/definitions.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security/src/main/resources/definitions.xml?rev=662473&r1=662472&r2=662473&view=diff
==============================================================================
--- incubator/tuscany/java/sca/itest/policy-security/src/main/resources/definitions.xml (original)
+++ incubator/tuscany/java/sca/itest/policy-security/src/main/resources/definitions.xml Mon Jun 2 09:16:00 2008
@@ -26,4 +26,8 @@
<policySet name="allowed_users" appliesTo="sca:implementation.java">
<permitAll/>
</policySet>
+
+ <policySet name="runAsAdmin" appliesTo="sca:implementation.java">
+ <runAs role="Administrator"/>
+ </policySet>
</definitions>
\ No newline at end of file
Modified: incubator/tuscany/java/sca/itest/policy-security/src/main/resources/helloworld.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security/src/main/resources/helloworld.composite?rev=662473&r1=662472&r2=662473&view=diff
==============================================================================
--- incubator/tuscany/java/sca/itest/policy-security/src/main/resources/helloworld.composite (original)
+++ incubator/tuscany/java/sca/itest/policy-security/src/main/resources/helloworld.composite Mon Jun 2 09:16:00 2008
@@ -26,6 +26,7 @@
<component name="HelloWorldServiceComponent">
<implementation.java class="helloworld.HelloWorldImpl" policySets="ip:allowed_users"/>
+
<service name="HelloWorldService">
<interface.java interface="helloworld.HelloWorldService"/>
</service>