jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1646093 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
Date Tue, 16 Dec 2014 21:35:47 GMT
Author: pmouawad
Date: Tue Dec 16 21:35:47 2014
New Revision: 1646093

URL: http://svn.apache.org/r1646093
Log:
Bug 25430 - HTTP(S) Test Script Recorder : Make it populate HTTP Authorisation Manager 
Matching should ignore login/password
Bugzilla Id: 25430

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java?rev=1646093&r1=1646092&r2=1646093&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
Tue Dec 16 21:35:47 2014
@@ -448,7 +448,7 @@ public class AuthManager extends ConfigT
     }
 
     /**
-     * Check if two authorization objects are equal
+     * Check if two authorization objects are equal ignoring username/password
      * @param a {@link Authorization}
      * @param b {@link Authorization}
      * @return true if a and b match
@@ -456,8 +456,6 @@ public class AuthManager extends ConfigT
     private boolean match(Authorization a, Authorization b){
         return
                 a.getURL().equals(b.getURL())&&
-                a.getName().equals(b.getName())&&
-                a.getPass().equals(b.getPass())&&
                 a.getDomain().equals(b.getDomain())&&
                 a.getRealm().equals(b.getRealm())&&
                 a.getMechanism().equals(b.getMechanism());



Mime
View raw message