diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-22 14:23:16 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-22 14:23:16 +0000 |
commit | dbc0816ae90e3d07f8d039fa491be5e432e8f9d3 (patch) | |
tree | 3e737015de9daacbc41c7e1fcdc4cbdc9a332ea8 /sandbox/travelsample/shared-contributions/payment-java-contribution/src | |
parent | e3a642e8c03d0686ae070dc30ca42fa622fb3e89 (diff) |
Add missing policy definitions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@757190 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/shared-contributions/payment-java-contribution/src')
-rw-r--r-- | sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/resources/definitions.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/resources/definitions.xml b/sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/resources/definitions.xml new file mode 100644 index 0000000000..475d923506 --- /dev/null +++ b/sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/resources/definitions.xml @@ -0,0 +1,33 @@ +<?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. +--> +<definitions xmlns="http://www.osoa.org/xmlns/sca/1.0" + targetNamespace="http://www.osoa.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"> + + <!-- Policy Intents Defined by the SCA Runtime --> + <intent name="authorization" constrains="sca:implementation"/> + + <!-- Policy intents --> + <policySet name="ps1" provides="sca:authorization" appliesTo="sca:implementation.java"/> + + <policySet name="ps2" provides="sca:managedTransaction.global" appliesTo="sca:implementation.java"/> + +</definitions> |