Author: slaws
Date: Mon Jan 25 12:01:01 2010
New Revision: 902786
URL: http://svn.apache.org/viewvc?rev=902786&view=rev
Log:
Needs the policy sets to resolve the specified intents. However leaving them
empty so that there are no matching implications.
Modified:
tuscany/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
Modified:
tuscany/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml?rev=902786&r1=902785&r2=902786&view=diff
==============================================================================
---
tuscany/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
(original)
+++
tuscany/sca-java-2.x/trunk/itest/implementation-spring/src/main/resources/implementation/policies/META-INF/definitions.xml
Mon Jan 25 12:01:01 2010
@@ -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