Java code for getting token

Im trying to use you python code example for getting auth token via NTLM, and its working for me, but i facing issue (getting 401, invalid_client error) when trying to do the same code with java (apache client) do you have any example of doing it with java?

No, Milestone has no sample that does this. I googled the error (in Java NTLM) and it seems there are a lot of discussions on fora that point out challenges, this is not something I with my limited knowledge on Java can extract a meaningful advise on. There might be other users of this forum that has the experience and can answer..