axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r411067 - /webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/
Date Fri, 02 Jun 2006 06:37:27 GMT
Author: ruchithf
Date: Thu Jun  1 23:37:27 2006
New Revision: 411067

URL: http://svn.apache.org/viewvc?rev=411067&view=rev
Log:
s/Rahas/Conversation

Added:
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario1Test.java
      - copied, changed from r411048, webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario1Test.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario2Test.java
      - copied, changed from r411048, webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario2Test.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario3Test.java
      - copied, changed from r411048, webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario3Test.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario4Test.java
      - copied, changed from r411048, webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario4Test.java
Removed:
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario1Test.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario2Test.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario3Test.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario4Test.java
Modified:
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/TestClient.java

Copied: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario1Test.java
(from r411048, webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario1Test.java)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario1Test.java?p2=webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario1Test.java&p1=webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario1Test.java&r1=411048&r2=411067&rev=411067&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario1Test.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario1Test.java
Thu Jun  1 23:37:27 2006
@@ -24,20 +24,20 @@
  * The RequestedProofToken is an EncryptedKey
  * which holds the secret of security context.
  */
-public class RahasScenario1Test extends TestClient {
+public class ConversationScenario1Test extends TestClient {
 
     /**
      * @param name
      */
-    public RahasScenario1Test(String name) {
+    public ConversationScenario1Test(String name) {
         super(name);
     }
 
-    public Parameter getClientRahasConfiguration() {
-        RahasConfiguration config = new RahasConfiguration();
+    public Parameter getClientConversationConfiguration() {
+        ConversationConfiguration config = new ConversationConfiguration();
 
         config.setCryptoPropertiesFile("sec.properties");
-        config.setScope(RahasConfiguration.SCOPE_SERVICE);
+        config.setScope(ConversationConfiguration.SCOPE_SERVICE);
         config.setPasswordCallbackClass(PWCallback.class.getName());
         config.setStsEPRAddress("http://localhost:" + port + "/axis2/services/Service");
 

Copied: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario2Test.java
(from r411048, webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario2Test.java)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario2Test.java?p2=webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario2Test.java&p1=webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario2Test.java&r1=411048&r2=411067&rev=411067&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario2Test.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario2Test.java
Thu Jun  1 23:37:27 2006
@@ -20,9 +20,9 @@
  * The RSTR will hold a  RequestedProofToken with a base64 encoded 
  * secret held in a BinarySecret element.
  */
-public class RahasScenario2Test extends RahasScenario1Test {
+public class ConversationScenario2Test extends ConversationScenario1Test {
 
-    public RahasScenario2Test(String name) {
+    public ConversationScenario2Test(String name) {
         super(name);
     }
 

Copied: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario3Test.java
(from r411048, webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario3Test.java)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario3Test.java?p2=webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario3Test.java&p1=webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario3Test.java&r1=411048&r2=411067&rev=411067&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario3Test.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario3Test.java
Thu Jun  1 23:37:27 2006
@@ -27,17 +27,17 @@
  * The client side rahas outflow handler will create the RSTR with the SCT
  * and RPT with a secret in a EncryptedKey and will send it over to the service.
  */
-public class RahasScenario3Test extends TestClient {
+public class ConversationScenario3Test extends TestClient {
 
-    public RahasScenario3Test(String name) {
+    public ConversationScenario3Test(String name) {
         super(name);
     }
 
-    public Parameter getClientRahasConfiguration() {
-        RahasConfiguration config = new RahasConfiguration();
+    public Parameter getClientConversationConfiguration() {
+        ConversationConfiguration config = new ConversationConfiguration();
 
         config.setCryptoPropertiesFile("sec.properties");
-        config.setScope(RahasConfiguration.SCOPE_SERVICE);
+        config.setScope(ConversationConfiguration.SCOPE_SERVICE);
         config.setPasswordCallbackClass(PWCallback.class.getName());
         config.setEncryptionUser("sts");
 

Copied: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario4Test.java
(from r411048, webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario4Test.java)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario4Test.java?p2=webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario4Test.java&p1=webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario4Test.java&r1=411048&r2=411067&rev=411067&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario4Test.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/ConversationScenario4Test.java
Thu Jun  1 23:37:27 2006
@@ -23,18 +23,18 @@
 /**
  * This tests the use computed keys when the requester provides entropy
  */
-public class RahasScenario4Test extends TestClient {
+public class ConversationScenario4Test extends TestClient {
 
-    public RahasScenario4Test(String name) {
+    public ConversationScenario4Test(String name) {
         super(name);
         // TODO Auto-generated constructor stub
     }
 
-    public Parameter getClientRahasConfiguration() {
-        RahasConfiguration config = new RahasConfiguration();
+    public Parameter getClientConversationConfiguration() {
+        ConversationConfiguration config = new ConversationConfiguration();
 
         config.setCryptoPropertiesFile("sec.properties");
-        config.setScope(RahasConfiguration.SCOPE_SERVICE);
+        config.setScope(ConversationConfiguration.SCOPE_SERVICE);
         config.setPasswordCallbackClass(PWCallback.class.getName());
         config.setProvideEntropy(true);
         config.setStsEPRAddress("http://localhost:" + port + "/axis2/services/Service");

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/TestClient.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/TestClient.java?rev=411067&r1=411066&r2=411067&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/TestClient.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/TestClient.java
Thu Jun  1 23:37:27 2006
@@ -61,7 +61,7 @@
     /**
      * @param args
      */
-    public void testRahas() {
+    public void testConversation() {
         try {
 
             // Get the repository location from the args
@@ -84,7 +84,7 @@
             if(clientInflowConfiguration != null) {
                 options.setProperty(WSSHandlerConstants.INFLOW_SECURITY, clientInflowConfiguration.getProperty());
             }
-            options.setProperty(RahasConfiguration.RAHAS_CONFIG, getClientRahasConfiguration());
+            options.setProperty(ConversationConfiguration.RAHAS_CONFIG, getClientConversationConfiguration());
             
             options.setAction("urn:echo");
             
@@ -127,7 +127,7 @@
         return method;
     }
 
-    public abstract Parameter getClientRahasConfiguration();
+    public abstract Parameter getClientConversationConfiguration();
     
     public abstract OutflowConfiguration getClientOutflowConfiguration();
 



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


Mime
View raw message