I am trying to develop a small android app for my organization's ticket handling website which is a secured site https. I have created my own customized httpclient and my own SSLSocketFactory.
String user_Name = "asia\\manoharamkem";
String pass_Word = "Temenos13";
List<NameValuePair> nvps = new ArrayList<NameValuePair>(2);
nvps.add(new BasicNameValuePair("username", user_Name));
nvps.add(new BasicNameValuePair("password", pass_Word));
HttpResponse response = httpclient.execute(httpost);
Log.w("TCSPP","RESPONSE CODE : "+response.getStatusLine().getStatusCode());
When I execute the above code, the code is always displayed as 200 even with incorrect login credentials. I cannot share my url as it is confidential.
I am not sure whether the code 200 is for login or for url access is successful. I am googling for the past 1 week and no clue. Please help me in logging to a https website.
My company's website is like this https://myurl.com and on launching the same, it will be redirected to the url https://myurl.com/CookieAuth.dll?GetLogon?curl=Z2F&reason=0&formdir=5 which displays the login page. I have to login into this url through android app.
Please help me on this.
Regards, Manohar