Friday, October 2, 2015

Automated Application log in having j_security_check challenge using Apache httpclient

I was working on automated login using  the code provided by blog post specially using j_security_check using httpclient (4.5.1)

DefaultHttpClient client = new DefaultHttpClient();

You will get meesage as "DefaultHttpClient is depricated"
To make this code working please use

HttpClient client = HttpClientBuilder.create().build();

No comments: