Subversion Repositories SmartDukaan

Rev

Rev 14951 | Rev 15599 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14951 Rev 15223
Line 144... Line 144...
144
		HttpPost post = new HttpPost("http://selleraccounts.snapdeal.com/login?service=http%3A%2F%2Fseller.snapdeal.com%2Fj_spring_cas_security_check");
144
		HttpPost post = new HttpPost("http://selleraccounts.snapdeal.com/login?service=http%3A%2F%2Fseller.snapdeal.com%2Fj_spring_cas_security_check");
145
		List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
145
		List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
146
		nameValuePairs.add(new BasicNameValuePair("username",
146
		nameValuePairs.add(new BasicNameValuePair("username",
147
		"saholic-snapdeal@saholic.com"));
147
		"saholic-snapdeal@saholic.com"));
148
		nameValuePairs.add(new BasicNameValuePair("password",
148
		nameValuePairs.add(new BasicNameValuePair("password",
149
		"snapsaholic"));
149
		"saholic15"));
150
		nameValuePairs.add(new BasicNameValuePair("_eventId","submit"));
150
		nameValuePairs.add(new BasicNameValuePair("_eventId","submit"));
151
		nameValuePairs.add(new BasicNameValuePair("execution",ex));
151
		nameValuePairs.add(new BasicNameValuePair("execution",ex));
152
		nameValuePairs.add(new BasicNameValuePair("lt",lt));
152
		nameValuePairs.add(new BasicNameValuePair("lt",lt));
153
		nameValuePairs.add(new BasicNameValuePair("submit","LOGIN"));
153
		nameValuePairs.add(new BasicNameValuePair("submit","LOGIN"));
154
		post.setEntity(new UrlEncodedFormEntity(nameValuePairs,"utf-8"));
154
		post.setEntity(new UrlEncodedFormEntity(nameValuePairs,"utf-8"));