axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r478541 - in /webservices/axis2/branches/java/1_1/modules: integration/test/org/apache/rampart/PWCallback.java security/src/org/apache/rampart/builder/TransportBindingBuilder.java
Date Thu, 23 Nov 2006 12:02:47 GMT
Author: ruchithf
Date: Thu Nov 23 04:02:46 2006
New Revision: 478541

URL: http://svn.apache.org/viewvc?view=rev&rev=478541
Log:
Set the UT builder to use a plain text password properly

Modified:
    webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/rampart/PWCallback.java
    webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/builder/TransportBindingBuilder.java

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/rampart/PWCallback.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/rampart/PWCallback.java?view=diff&rev=478541&r1=478540&r2=478541
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/rampart/PWCallback.java
(original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/rampart/PWCallback.java
Thu Nov 23 04:02:46 2006
@@ -124,7 +124,11 @@
 
                         return;
 
-                    }                   
+                    }       
+                    
+                    if(pc.getIdentifer().equals("alice") && pc.getPassword().equals("password"))
{
+                        return;
+                    }
 
                     throw new UnsupportedCallbackException(callbacks[i],
 

Modified: webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/builder/TransportBindingBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/builder/TransportBindingBuilder.java?view=diff&rev=478541&r1=478540&r2=478541
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/builder/TransportBindingBuilder.java
(original)
+++ webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/builder/TransportBindingBuilder.java
Thu Nov 23 04:02:46 2006
@@ -77,7 +77,7 @@
                     Token token = (Token) iter.next();
                     if(token instanceof UsernameToken) {
                         WSSecUsernameToken utBuilder = addUsernameToken(rmd);
-                        utBuilder.setPasswordType(WSConstants.PW_TEXT);
+                        utBuilder.setPasswordType(WSConstants.PASSWORD_TEXT);
                         
                         utBuilder.prepare(rmd.getDocument());
                         



---------------------------------------------------------------------
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