Hi,
I've just started using httpClient (version 3.1 at the moment), and I'm not
clear as to the 'bigger' picture of using digest authentication with a
particular get/post method. That is, 
I have a simple test case working with basic authentication and the tomcat
MemoryRealm, but would like to understand whether, if I were to switch to
'digest' authentication in httpclient, 
- I would also need to switch tomcat's realm configuration to use the
'digest' attribute or not? 
- I would need to encrypt the paswords in the tomcat-users file? (for
testing purposes, I am just using the Memory realm with the default user
file)
- I would need to configure my web.xml file to use DIGEST authentication or
BASIC authentication?.
I think ideally it would be great if I could see some sample code that uses
digest authentication, and includes the corresponding tomcat realm
definition/web.xml file.
Thanks in advance for any pointers,
-Patricia
 
[email protected]
 

Reply via email to