HttpClient with NTLM authentication

Step by step, how to create an HttpClient that supports NTLM authentication in Java The Problem: Suppose that we have an instance of Apache HttpClient ( we will use the CloseableHttpClient implementation). We want to perform ΗΤΤP requests to a server that it uses the NTLM authentication security. Some Theory: NTLM is a challenge-response authentication protocol which uses three messages to …

Enums

Sexy, Chic , Powerful Sexy and Chic because they produce elegant code by constraining the choices of what you can pass.Powerful, because by limit your choices , actually increase the code effectiveness (it means the code you write today will work if reused 10 years later ) But , first things first… What is an Enum type? They are classes that export one …