Author: sebb
Date: Sun Feb 11 15:13:14 2007
New Revision: 506163
URL: http://svn.apache.org/viewvc?view=rev&rev=506163
Log: (empty)
Modified:
jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
Modified:
jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java?view=diff&rev=506163&r1=506162&r2=506163
==============================================================================
---
jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
(original)
+++
jakarta/jmeter/branches/rel-2-2/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
Sun Feb 11 15:13:14 2007
@@ -182,14 +182,18 @@
if (url2 != null)
s2 = url2.toString();
+ log.debug("Target URL strings to match against: "+s1+" and
"+s2);
// TODO should really return most specific (i.e. longest) match.
for (PropertyIterator iter = getAuthObjects().iterator();
iter.hasNext();) {
Authorization auth = (Authorization)
iter.next().getObjectValue();
String uRL = auth.getURL();
+ log.debug("Checking match against auth'n entry: "+uRL);
if (s1.startsWith(uRL) || s2 != null &&
s2.startsWith(uRL)) {
+ log.debug("Matched");
return auth;
}
+ log.debug("Did not match");
}
return null;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]