Author: erwan
Date: Wed Nov 16 19:36:04 2011
New Revision: 1202851
URL:
http://svn.apache.org/viewvc?rev=1202851&view=revLog:
Removing unused and not related to OFBiz trunk method : RemoteRequest#login
Modified:
ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java
Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java?rev=1202851&r1=1202850&r2=1202851&view=diff==============================================================================
--- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java (original)
+++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java Wed Nov 16 19:36:04 2011
@@ -304,20 +304,6 @@ public class RemoteRequest {
return;
}
- private void login(DefaultHttpClient client, BasicHttpContext localContext) throws IOException{
-
- String paramString = "USERNAME=" + this.parent.getUserName()
- + "&PASSWORD=" + this.parent.getPassword();
- String thisUri = this.host + "/eng/control/login?" + paramString;
- HttpGet req = new HttpGet ( thisUri );
- req.setHeader("Connection","Keep-Alive");
- client.execute(req, localContext);
-
- //client.getCredentialsProvider().setCredentials(new AuthScope("localhost", 8080),
- // new UsernamePasswordCredentials(this.parent.getUserName(), this.parent.getPassword()));
-
- return;
- }
/** URL Encodes a Map of arguements */
public static String urlEncodeArgs(Map<String, ? extends Object> args, boolean useExpandedEntites) {
StringBuilder buf = new StringBuilder();