title: Authentication with wget
body: <p>I am currently accepting the parameters login and password in my servlet, but logs are storing this info when using wget (as long as it is GET method, and apache is in the middle)</p>
  
  <p>Instead of this I want to enhance my servlet's authentication accepting:</p>
  
  <pre><code>wget --http-user=login --http-password=password http://myhost/myServlet
  </code></pre>
  
  <p>How can I read, in my servlet, the server side, the login and the password user is sending, in java code?</p>