summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/implementation-spring/src
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-01-20 05:28:35 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-01-20 05:28:35 +0000
commit734dac1eaf4ff319d8355d08335aeb019abf727e (patch)
tree21791add5af4d4cc832e38ed9934d9bcf76e1918 /sca-java-2.x/trunk/itest/implementation-spring/src
parentb2ef51dad3115be134393abfb3fb4159c91aa686 (diff)
Fix the definitions.xml and move them into META-INF folder to be recognized
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@901065 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/implementation-spring/src')
-rw-r--r--sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml (renamed from sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/definitions.xml)12
1 files changed, 8 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/definitions.xml b/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
index f7e26fdd7c..6b22874b39 100644
--- a/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/definitions.xml
+++ b/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
@@ -22,19 +22,23 @@
xmlns:calc="http://calculator">
<!-- PolicySets -->
- <policySet name="JaasPolicy" provides="tuscany:jaasAuthentication" appliesTo="sca:implementation.java"
- xmlns="http://www.osoa.org/xmlns/sca/1.0">
+ <!--
+ <policySet name="JaasPolicy" provides="tuscany:jaasAuthentication" appliesTo="sca:implementation.java">
<tuscany:jaasAuthentication>
<tuscany:configurationName>Calculator</tuscany:configurationName>
<tuscany:callbackHandler>calculator.security.CalculatorCallbackHandler</tuscany:callbackHandler>
</tuscany:jaasAuthentication>
</policySet>
+ -->
<!-- PolicySets -->
- <policySet name="JDKLoggingPolicy" provides="tuscany:logging" appliesTo="sca:implementation.spring"
- xmlns="http://www.osoa.org/xmlns/sca/1.0">
+ <!--
+ <policySet name="JDKLoggingPolicy" provides="tuscany:logging" appliesTo="sca:implementation.spring">
<tuscany:jdkLogger name="calculator">
<logLevel>FINER</logLevel>
</tuscany:jdkLogger>
</policySet>
+ -->
+
+ <intent name="logging" constrains="sca:implementation" intentType="interaction"/>
</definitions> \ No newline at end of file