summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-01-25 12:01:01 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-01-25 12:01:01 +0000
commit23d6078123f0ae5d398aa61e07157bc51f5a82d5 (patch)
tree5b1c5592494f05fbf149ebdfc724708fd8a3936a /sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
parent294e8506c61b931662426caf3958cb088bbd78c8 (diff)
Needs the policy sets to resolve the specified intents. However leaving them empty so that there are no matching implications.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@902786 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml19
1 files changed, 12 insertions, 7 deletions
diff --git a/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml b/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
index 6b22874b39..b442b3157a 100644
--- a/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
+++ b/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
@@ -21,24 +21,29 @@
xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
xmlns:calc="http://calculator">
+ <intent name="logging" constrains="sca:implementation" intentType="interaction"/>
+
<!-- PolicySets -->
- <!--
- <policySet name="JaasPolicy" provides="tuscany:jaasAuthentication" appliesTo="sca:implementation.java">
+ <policySet name="JaasPolicy" provides="tuscany:jaasAuthentication" appliesTo="sca:binding">
+<!-- empty policy set so that intents are resolved and match works but without including
+ any actual policy runtime artifacts
<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">
+<!-- empty policy set so that intents are resolved and match works but without including
+ any actual policy runtime artifacts
<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