summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/samples/store-secure/src/main/resources/definitions.xml
diff options
context:
space:
mode:
Diffstat (limited to 'branches/sca-java-1.x/samples/store-secure/src/main/resources/definitions.xml')
-rw-r--r--branches/sca-java-1.x/samples/store-secure/src/main/resources/definitions.xml19
1 files changed, 15 insertions, 4 deletions
diff --git a/branches/sca-java-1.x/samples/store-secure/src/main/resources/definitions.xml b/branches/sca-java-1.x/samples/store-secure/src/main/resources/definitions.xml
index 58db5df865..0b1d409c7f 100644
--- a/branches/sca-java-1.x/samples/store-secure/src/main/resources/definitions.xml
+++ b/branches/sca-java-1.x/samples/store-secure/src/main/resources/definitions.xml
@@ -24,8 +24,7 @@
xmlns:store="http://store">
- <!-- WS Security POLICY SETS -->
- <sca:policySet name="widgetBindingAuthenticationPolicySet"
+ <sca:policySet name="widgetBindingAuthenticationPolicySet"
provides="sca:authentication"
appliesTo="tuscany:binding.http">
<tuscany:basicAuthentication>
@@ -37,8 +36,7 @@
</tuscany:basicAuthentication>
</sca:policySet>
- <!-- WS Security POLICY SETS -->
- <sca:policySet name="widgetServiceAuthenticationPolicySet"
+ <sca:policySet name="widgetServiceAuthenticationPolicySet"
provides="sca:authentication"
appliesTo="sca:service">
<tuscany:basicAuthentication>
@@ -49,5 +47,18 @@
</tuscany:authorizedUsers>
</tuscany:basicAuthentication>
</sca:policySet>
+
+ <sca:policySet name="widgetConfidentialityConfigurationPolicySet"
+ provides="sca:confidentiality"
+ appliesTo="tuscany:binding.http">
+ <tuscany:confidentiality>
+ <tuscany:keyStore type="JKS" file="target/classes/tuscany.keyStore" password="apache"/>
+ <tuscany:trustStore type="" file="" password=""/>
+ </tuscany:confidentiality>
+ </sca:policySet>
+
+
+
+
</sca:definitions>