You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2014/12/16 22:35:47 UTC

svn commit: r1646093 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java

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());