Authentication with wget
Posted
by Llistes Sugra
on Stack Overflow
See other posts from Stack Overflow
or by Llistes Sugra
Published on 2010-06-03T11:41:28Z
Indexed on
2010/06/03
11:44 UTC
Read the original article
Hit count: 284
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)
Instead of this I want to enhance my servlet's authentication accepting:
wget --http-user=login --http-password=password http://myhost/myServlet
How can I read, in my servlet, the server side, the login and the password user is sending, in java code?
© Stack Overflow or respective owner