Subversion Repositories SmartDukaan

Rev

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

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