The hello2_basicauth Example: Basic Authentication with a Servlet . Note - In practice, Java EE servers treat the CONFIDENTIAL and INTEGRAL transport .