You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2008/03/12 00:54:19 UTC

svn commit: r636155 - /incubator/tuscany/java/sca/samples/calculator-implementation-policies/src/main/resources/definitions.xml

Author: rfeng
Date: Tue Mar 11 16:54:17 2008
New Revision: 636155

URL: http://svn.apache.org/viewvc?rev=636155&view=rev
Log:
Fix the definitions.xml to avoid build break

Modified:
    incubator/tuscany/java/sca/samples/calculator-implementation-policies/src/main/resources/definitions.xml

Modified: incubator/tuscany/java/sca/samples/calculator-implementation-policies/src/main/resources/definitions.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-implementation-policies/src/main/resources/definitions.xml?rev=636155&r1=636154&r2=636155&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-implementation-policies/src/main/resources/definitions.xml (original)
+++ incubator/tuscany/java/sca/samples/calculator-implementation-policies/src/main/resources/definitions.xml Tue Mar 11 16:54:17 2008
@@ -1,60 +1,48 @@
 <?xml version="1.0" encoding="ASCII"?>
 <!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *   http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.    
+    * Licensed to the Apache Software Foundation (ASF) under one
+    * or more contributor license agreements.  See the NOTICE file
+    * distributed with this work for additional information
+    * regarding copyright ownership.  The ASF licenses this file
+    * to you under the Apache License, Version 2.0 (the
+    * "License"); you may not use this file except in compliance
+    * with the License.  You may obtain a copy of the License at
+    * 
+    *   http://www.apache.org/licenses/LICENSE-2.0
+    * 
+    * Unless required by applicable law or agreed to in writing,
+    * software distributed under the License is distributed on an
+    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    * KIND, either express or implied.  See the License for the
+    * specific language governing permissions and limitations
+    * under the License.    
 -->
-<definitions xmlns="http://www.osoa.org/xmlns/sca/1.0"
- 			targetNamespace="http://test"
- 			xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
- 			xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
- 			xmlns:calc="http://calculator">
+<definitions xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://tuscany.apache.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+    xmlns:calc="http://calculator">
 
-<!-- Policy Intents -->
-<intent name="tuscany:logging" 
- 		constrains="sca:implementation.java">
-	<description>
-		All messages to and from this implementation must be logged
-	</description>
-</intent>
+    <!-- Policy Intents -->
+    <intent name="logging" constrains="sca:implementation.java">
+        <description>All messages to and from this implementation must be logged</description>
+    </intent>
 
-<intent name="tuscany:jaasAuthentication" 
- 		constrains="sca:implementation.java">
-	<description>
-		All invocations to be authenticated
-	</description>
-</intent>
+    <intent name="jaasAuthentication" constrains="sca:implementation.java">
+        <description>All invocations to be authenticated</description>
+    </intent>
 
-<!-- PolicySets -->
-<policySet name="tuscany:JaasPolicy"
- 	provides="tuscany:jaasAuthentication"
- 	appliesTo="sca:implementation.java"
- 	xmlns="http://www.osoa.org/xmlns/sca/1.0">
- 	<tuscany:jaasAuthentication>
- 		<tuscany:callbackHandler>calculator.security.CalculatorCallbackHandler</tuscany:callbackHandler>
- 	</tuscany:jaasAuthentication>
-</policySet>
+    <!-- PolicySets -->
+    <policySet name="JaasPolicy" provides="tuscany:jaasAuthentication" appliesTo="sca:implementation.java"
+        xmlns="http://www.osoa.org/xmlns/sca/1.0">
+        <tuscany:jaasAuthentication>
+            <tuscany:callbackHandler>calculator.security.CalculatorCallbackHandler</tuscany:callbackHandler>
+        </tuscany:jaasAuthentication>
+    </policySet>
 
-<!-- PolicySets -->
-<policySet name="tuscany:JDKLoggingPolicy"
- 	provides="tuscany:logging"
- 	appliesTo="sca:implementation.java"
- 	xmlns="http://www.osoa.org/xmlns/sca/1.0">
- 	<tuscany:jdkLogger name="calculator">
-		<logLevel>FINER</logLevel>
-	</tuscany:jdkLogger>
-</policySet>
+    <!-- PolicySets -->
+    <policySet name="JDKLoggingPolicy" provides="tuscany:logging" appliesTo="sca:implementation.java"
+        xmlns="http://www.osoa.org/xmlns/sca/1.0">
+        <tuscany:jdkLogger name="calculator">
+            <logLevel>FINER</logLevel>
+        </tuscany:jdkLogger>
+    </policySet>
 </definitions>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org