Added: 
webservices/sandesha/trunk/java/modules/interop/src/resources/conf/sec-services.xml
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/interop/src/resources/conf/sec-services.xml?view=auto&rev=531722
==============================================================================
--- 
webservices/sandesha/trunk/java/modules/interop/src/resources/conf/sec-services.xml
 (added)
+++ 
webservices/sandesha/trunk/java/modules/interop/src/resources/conf/sec-services.xml
 Mon Apr 23 21:57:43 2007
@@ -0,0 +1,271 @@
+<!-- This file was auto-generated from WSDL -->
+<!-- by the Apache Axis2 version: #axisVersion# #today# -->
+<service name="SecRMInteropService">
+
+       <module ref="sandesha2" />
+       <module ref="rampart"/>
+       <module ref="rahas"/>
+                       
+       <messageReceivers>
+               <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-out";
+                       
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver" />
+               <messageReceiver
+                       mep="http://www.w3.org/2006/01/wsdl/in-only";
+                       
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver" />
+       </messageReceivers>
+       
+       <parameter locked="false" name="ServiceClass">
+               org.apache.sandesha2.interop.securerm.SecRMServiceImpl
+       </parameter>
+       
+       <operation name="EchoString"
+               mep="http://www.w3.org/2006/01/wsdl/in-out";>
+               <actionMapping>urn:wsrm:EchoString</actionMapping>
+               <outputActionMapping>
+                       urn:wsrm:EchoStringResponse
+               </outputActionMapping>
+       </operation>
+       
+       <operation name="Ping"
+               mep="http://www.w3.org/2006/01/wsdl/in-only";>
+               <actionMapping>urn:wsrm:Ping</actionMapping>
+       </operation>
+       
+       <!-- Rampart and Rahas configurations -->
+       <wsp:Policy wsu:Id="SecConvPolicy2" 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
+       <wsp:ExactlyOne>
+               <wsp:All>
+                       <sp:SymmetricBinding 
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
+                               <wsp:Policy>
+                                       <sp:ProtectionToken>
+                                               <wsp:Policy>
+                                                       
<sp:SecureConversationToken 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";>
+                                                               <wsp:Policy>
+                                                                       
<sp:RequireDerivedKeys/>
+                                                                       
<sp:BootstrapPolicy>
+                                                                               
<wsp:Policy>
+                                                                               
        <sp:EncryptedParts>
+                                                                               
                <sp:Body/>
+                                                                               
        </sp:EncryptedParts>
+                                                                               
        <sp:SymmetricBinding>
+                                                                               
                <wsp:Policy>
+                                                                               
                        <sp:ProtectionToken>
+                                                                               
                                <wsp:Policy>
+                                                                               
                                        <sp:X509Token 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never";>
+                                                                               
                                                <wsp:Policy>
+                                                                               
                                                        <sp:RequireDerivedKeys/>
+                                                                               
                                                        
<sp:RequireThumbprintReference/>
+                                                                               
                                                        <sp:WssX509V3Token10/>
+                                                                               
                                                </wsp:Policy>
+                                                                               
                                        </sp:X509Token>
+                                                                               
                                </wsp:Policy>
+                                                                               
                        </sp:ProtectionToken>
+                                                                               
                        <sp:AlgorithmSuite>
+                                                                               
                                <wsp:Policy>
+                                                                               
                                        <sp:Basic128Rsa15/>
+                                                                               
                                </wsp:Policy>
+                                                                               
                        </sp:AlgorithmSuite>
+                                                                               
                        <sp:Layout>
+                                                                               
                                <wsp:Policy>
+                                                                               
                                        <sp:Strict/>
+                                                                               
                                </wsp:Policy>
+                                                                               
                        </sp:Layout>
+                                                                               
                        <sp:IncludeTimestamp/>
+                                                                               
                        <sp:EncryptSignature/>
+                                                                               
                        <sp:OnlySignEntireHeadersAndBody/>
+                                                                               
                </wsp:Policy>
+                                                                               
        </sp:SymmetricBinding>
+                                                                               
        <sp:EndorsingSupportingTokens>
+                                                                               
                <wsp:Policy>
+                                                                               
                        <sp:X509Token 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";>
+                                                                               
                                <wsp:Policy>
+                                                                               
                                        <sp:RequireThumbprintReference/>
+                                                                               
                                        <sp:WssX509V3Token10/>
+                                                                               
                                </wsp:Policy>
+                                                                               
                        </sp:X509Token>
+                                                                               
                </wsp:Policy>
+                                                                               
        </sp:EndorsingSupportingTokens>
+                                                                               
        <sp:Wss11>
+                                                                               
                <wsp:Policy>
+                                                                               
                        <sp:MustSupportRefKeyIdentifier/>
+                                                                               
                        <sp:MustSupportRefIssuerSerial/>
+                                                                               
                        <sp:MustSupportRefThumbprint/>
+                                                                               
                        <sp:MustSupportRefEncryptedKey/>
+                                                                               
                        <sp:RequireSignatureConfirmation/>
+                                                                               
                </wsp:Policy>
+                                                                               
        </sp:Wss11>
+                                                                               
        <sp:Trust10>
+                                                                               
                <wsp:Policy>
+                                                                               
                        <sp:MustSupportIssuedTokens/>
+                                                                               
                        <sp:RequireClientEntropy/>
+                                                                               
                        <sp:RequireServerEntropy/>
+                                                                               
                </wsp:Policy>
+                                                                               
        </sp:Trust10>
+                                                                               
</wsp:Policy>
+                                                                       
</sp:BootstrapPolicy>
+                                                               </wsp:Policy>
+                                                       
</sp:SecureConversationToken>
+                                               </wsp:Policy>
+                                       </sp:ProtectionToken>
+                                       <sp:AlgorithmSuite>
+                                               <wsp:Policy>
+                                                       <sp:Basic128Rsa15/>
+                                               </wsp:Policy>
+                                       </sp:AlgorithmSuite>
+                                       <sp:Layout>
+                                               <wsp:Policy>
+                                                       <sp:Strict/>
+                                               </wsp:Policy>
+                                       </sp:Layout>
+                                       <sp:IncludeTimestamp/>
+                                       <sp:EncryptSignature/>
+                                       <sp:OnlySignEntireHeadersAndBody/>
+                               </wsp:Policy>
+                       </sp:SymmetricBinding>
+                       <sp:Wss11 
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
+                               <wsp:Policy>
+                                       <sp:MustSupportRefKeyIdentifier/>
+                                       <sp:MustSupportRefIssuerSerial/>
+                                       <sp:MustSupportRefThumbprint/>
+                                       <sp:MustSupportRefEncryptedKey/>
+                               </wsp:Policy>
+                       </sp:Wss11>
+                       <sp:Trust10 
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
+                               <wsp:Policy>
+                                       <sp:MustSupportIssuedTokens/>
+                                       <sp:RequireClientEntropy/>
+                                       <sp:RequireServerEntropy/>
+                               </wsp:Policy>
+                       </sp:Trust10>
+                       <sp:EncryptedParts 
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
+                               <sp:Body/>
+                       </sp:EncryptedParts>
+                       <ramp:RampartConfig 
xmlns:ramp="http://ws.apache.org/rampart/policy";> 
+                               <ramp:user>bob</ramp:user>
+                               <ramp:encryptionUser>alice</ramp:encryptionUser>
+                               
<ramp:passwordCallbackClass>org.apache.sandesha2.interop.PWCallback</ramp:passwordCallbackClass>
+                               
+                               <ramp:signatureCrypto>
+                                       <ramp:crypto 
provider="org.apache.ws.security.components.crypto.Merlin">
+                                               <ramp:property 
name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property>
+                                               <ramp:property 
name="org.apache.ws.security.crypto.merlin.file">store.jks</ramp:property>
+                                               <ramp:property 
name="org.apache.ws.security.crypto.merlin.keystore.password">password</ramp:property>
+                                       </ramp:crypto>
+                               </ramp:signatureCrypto>
+                               <ramp:encryptionCypto>
+                                       <ramp:crypto 
provider="org.apache.ws.security.components.crypto.Merlin">
+                                               <ramp:property 
name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</ramp:property>
+                                               <ramp:property 
name="org.apache.ws.security.crypto.merlin.file">store.jks</ramp:property>
+                                               <ramp:property 
name="org.apache.ws.security.crypto.merlin.keystore.password">password</ramp:property>
+                                       </ramp:crypto>
+                               </ramp:encryptionCypto>
+                               
+                               <ramp:tokenIssuerPolicy 
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
+                                       <wsp:Policy>
+                                               <sp:EncryptedParts>
+                                                       <sp:Body/>
+                                               </sp:EncryptedParts>
+                                               <sp:SymmetricBinding>
+                                                       <wsp:Policy>
+                                                               
<sp:ProtectionToken>
+                                                                       
<wsp:Policy>
+                                                                               
<sp:X509Token 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never";>
+                                                                               
        <wsp:Policy>
+                                                                               
                <sp:RequireDerivedKeys/>
+                                                                               
                <sp:RequireThumbprintReference/>
+                                                                               
                <sp:WssX509V3Token10/>
+                                                                               
        </wsp:Policy>
+                                                                               
</sp:X509Token>
+                                                                       
</wsp:Policy>
+                                                               
</sp:ProtectionToken>
+                                                               
<sp:AlgorithmSuite>
+                                                                       
<wsp:Policy>
+                                                                               
<sp:Basic128Rsa15/>
+                                                                       
</wsp:Policy>
+                                                               
</sp:AlgorithmSuite>
+                                                               <sp:Layout>
+                                                                       
<wsp:Policy>
+                                                                               
<sp:Strict/>
+                                                                       
</wsp:Policy>
+                                                               </sp:Layout>
+                                                               
<sp:IncludeTimestamp/>
+                                                               
<sp:EncryptSignature/>
+                                                               
<sp:OnlySignEntireHeadersAndBody/>
+                                                       </wsp:Policy>
+                                               </sp:SymmetricBinding>
+                                               <sp:EndorsingSupportingTokens>
+                                                       <wsp:Policy>
+                                                               <sp:X509Token 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";>
+                                                                       
<wsp:Policy>
+                                                                               
<sp:RequireThumbprintReference/>
+                                                                               
<sp:WssX509V3Token10/>
+                                                                       
</wsp:Policy>
+                                                               </sp:X509Token>
+                                                       </wsp:Policy>
+                                               </sp:EndorsingSupportingTokens>
+                                               <sp:Wss11>
+                                                       <wsp:Policy>
+                                                               
<sp:MustSupportRefKeyIdentifier/>
+                                                               
<sp:MustSupportRefIssuerSerial/>
+                                                               
<sp:MustSupportRefThumbprint/>
+                                                               
<sp:MustSupportRefEncryptedKey/>
+                                                               
<sp:RequireSignatureConfirmation/>
+                                                       </wsp:Policy>
+                                               </sp:Wss11>
+                                               <sp:Trust10>
+                                                       <wsp:Policy>
+                                                               
<sp:MustSupportIssuedTokens/>
+                                                               
<sp:RequireClientEntropy/>
+                                                               
<sp:RequireServerEntropy/>
+                                                       </wsp:Policy>
+                                               </sp:Trust10>
+                                       </wsp:Policy>
+                               </ramp:tokenIssuerPolicy>
+                               
+                       </ramp:RampartConfig>
+               </wsp:All>
+       </wsp:ExactlyOne>
+       </wsp:Policy>
+
+       
+    <parameter name="sct-issuer-config">
+               <sct-issuer-config>
+                       <cryptoProperties>
+               <crypto 
provider="org.apache.ws.security.components.crypto.Merlin">
+                    <property 
name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</property>
+                    <property 
name="org.apache.ws.security.crypto.merlin.file">store.jks</property>
+                    <property 
name="org.apache.ws.security.crypto.merlin.keystore.password">password</property>
+                </crypto>
+                       </cryptoProperties>
+                       <addRequestedAttachedRef />
+                       <addRequestedUnattachedRef />
+
+            <!--
+               Key computation mechanism
+               1 - Use Request Entropy
+               2 - Provide Entropy
+               3 - Use Own Key
+            -->
+            <keyComputation>2</keyComputation>
+
+            <!--
+               proofKeyType element is valid only if the keyComputation is set 
to 3
+               i.e. Use Own Key
+
+               Valid values are: EncryptedKey & BinarySecret
+            -->
+            <proofKeyType>BinarySecret</proofKeyType>
+        </sct-issuer-config>
+    </parameter>
+       
+       <parameter name="token-canceler-config">
+               <token-canceler-config>
+                       <!--<proofToken>EncryptedKey</proofToken>-->
+                       
<!--<cryptoProperties>sctIssuer.properties</cryptoProperties>-->
+                       <!--<addRequestedAttachedRef />-->
+               </token-canceler-config>
+    </parameter>
+       
+
+</service>
+

Added: 
webservices/sandesha/trunk/java/modules/interop/src/resources/conf/services.xml
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/interop/src/resources/conf/services.xml?view=auto&rev=531722
==============================================================================
--- 
webservices/sandesha/trunk/java/modules/interop/src/resources/conf/services.xml 
(added)
+++ 
webservices/sandesha/trunk/java/modules/interop/src/resources/conf/services.xml 
Mon Apr 23 21:57:43 2007
@@ -0,0 +1,25 @@
+<service name="RMInteropService">
+
+       <module ref="sandesha2" />
+       
+       <messageReceivers>
+               <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-out";
+                       
class="org.apache.sandesha2.interop.RMInteropServiceMessageReceiverInOut" />
+               <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-only";
+                       
class="org.apache.sandesha2.interop.RMInteropServiceMessageReceiverInOnly" />
+       </messageReceivers>
+       <parameter locked="false" name="ServiceClass">
+               org.apache.sandesha2.interop.RMInteropServiceSkeletonImpl
+       </parameter>
+       <operation name="EchoString"
+               mep="http://www.w3.org/2006/01/wsdl/in-out";>
+               <actionMapping>urn:wsrm:EchoString</actionMapping>
+               <outputActionMapping>
+                       urn:wsrm:EchoStringResponse
+               </outputActionMapping>
+       </operation>
+       <operation name="Ping"
+               mep="http://www.w3.org/2006/01/wsdl/in-only";>
+               <actionMapping>urn:wsrm:Ping</actionMapping>
+       </operation>
+</service>

Added: 
webservices/sandesha/trunk/java/modules/interop/src/resources/conf/store.jks
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/interop/src/resources/conf/store.jks?view=auto&rev=531722
==============================================================================
Binary file - no diff available.

Propchange: 
webservices/sandesha/trunk/java/modules/interop/src/resources/conf/store.jks
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: webservices/sandesha/trunk/java/modules/mar/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/mar/pom.xml?view=diff&rev=531722&r1=531721&r2=531722
==============================================================================
--- webservices/sandesha/trunk/java/modules/mar/pom.xml (original)
+++ webservices/sandesha/trunk/java/modules/mar/pom.xml Mon Apr 23 21:57:43 2007
@@ -4,7 +4,7 @@
 
     <parent>
        <groupId>org.apache.sandesha2</groupId>
-       <artifactId>sandesha2</artifactId>
+       <artifactId>sandesha2-parent</artifactId>
         <version>SNAPSHOT</version>
     </parent>
     
@@ -59,7 +59,7 @@
                 </configuration>
             </plugin>
            <plugin>
-               <groupId>org.apache.axis2.maven2</groupId>
+               <groupId>org.apache.axis2</groupId>
                <artifactId>axis2-mar-maven-plugin</artifactId>
                <version>SNAPSHOT</version>
                <extensions>true</extensions>
@@ -75,7 +75,7 @@
     <dependencies>
        <dependency>
             <groupId>org.apache.sandesha2</groupId>
-            <artifactId>sandesha2-core</artifactId>
+            <artifactId>sandesha2</artifactId>
             <version>SNAPSHOT</version>
         </dependency>
     </dependencies>

Modified: webservices/sandesha/trunk/java/modules/policy/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/policy/pom.xml?view=diff&rev=531722&r1=531721&r2=531722
==============================================================================
--- webservices/sandesha/trunk/java/modules/policy/pom.xml (original)
+++ webservices/sandesha/trunk/java/modules/policy/pom.xml Mon Apr 23 21:57:43 
2007
@@ -4,7 +4,7 @@
 
     <parent>
        <groupId>org.apache.sandesha2</groupId>
-       <artifactId>sandesha2</artifactId>
+       <artifactId>sandesha2-parent</artifactId>
         <version>SNAPSHOT</version>
     </parent>
     
@@ -69,7 +69,7 @@
     <dependencies>
        <dependency>
             <groupId>org.apache.sandesha2</groupId>
-            <artifactId>sandesha2-core</artifactId>
+            <artifactId>sandesha2</artifactId>
             <version>SNAPSHOT</version>
         </dependency>
     </dependencies>

Modified: webservices/sandesha/trunk/java/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/pom.xml?view=diff&rev=531722&r1=531721&r2=531722
==============================================================================
--- webservices/sandesha/trunk/java/pom.xml (original)
+++ webservices/sandesha/trunk/java/pom.xml Mon Apr 23 21:57:43 2007
@@ -4,7 +4,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.sandesha2</groupId>
-    <artifactId>sandesha2</artifactId>
+    <artifactId>sandesha2-parent</artifactId>
     <packaging>pom</packaging>
     <description>
 Sandesha2 is an implementation of WS-ReliableMessaging specification published 
IBM, Microsoft, BEA and TIBCO. Sandesha2 was built on top of Axis2. So by using 
Sandesha2 you can add reliable messaging capability to the web services you 
have hosted using Axis2. You can also use Sandesha2 with Axis2 client to 
interact with already hosted web services in a reliable manner. Please see 
sandesha2 user guide for more information on using Sandesha2. Read Sandesha2 
Architecture guide to see how Sandesha2 work internally.
@@ -171,12 +171,22 @@
         <dependency>
             <groupId>org.apache.rampart</groupId>
             <artifactId>rampart-core</artifactId>
-            <version>SNAPSHOT</version>
+            <version>${rampart.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.rampart</groupId>
+            <artifactId>rampart-trust</artifactId>
+            <version>${rampart.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.rampart</groupId>
+            <artifactId>rampart-policy</artifactId>
+            <version>${rampart.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.axis2</groupId>
             <artifactId>axis2</artifactId>
-            <version>SNAPSHOT</version>
+            <version>${axis2.version}</version>
         </dependency>
 
 
@@ -416,7 +426,8 @@
        <module>modules/policy</module>
     </modules>
 
-    <properties>
+    <properties>
+       <rampart.version>SNAPSHOT</rampart.version>
         <axis2.version>SNAPSHOT</axis2.version>
 
         <axiom.version>SNAPSHOT</axiom.version>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to