HTTPS protocol omits the password parameter?

I'm calling one of our http services, it can be either called via http or https protocols. The code which generates the request is the same. It's a HttpClient, it passes parameters

final MultipartEntity reqEntity = new MultipartEntity(); for (FormBodyPart bodyPart : requestParameters(username, password, format, version)) { reqEntity.addPart(bodyPart); } final HttpPost httpPost = new HttpPost(getUrl()); httpPost.setEntity(reqEntity); final HttpResponse response = getHttpClient().execute(httpPost);

Now, the real weird problem is: when getUrl() returns http version of the service url - all works good. However, if I replace in properties the url protocol by https, - it starts omitting parameters. For example it definitely omits password parameter. I see it in the logs of the service I call - when I use https url - the password parameter is empty, as if it never been passed. Why something like that can happen? anyone seen it ever before?

Can it be because of ssl on the calling side encrypts password differently than ssl on the service side decrypts it? Where can I read more about it?

Category:java Views:0 Time:2019-01-09

Related post

Copyright (C), All Rights Reserved.

processed in 0.209 (s). 11 q(s)