HTTP-Authentication: how to quickly test client software through BASIC and DIGEST?

巧了我就是萌 提交于 2019-12-11 23:00:17

问题


I'm developping a Java software that should make requests towards URLs over HTTP. Some of these URLs will need HTTP authentication through DIGEST or BASIC.

My client software will only contact these URLs, and if HTTP response is HTTP_OK(200), it will write output into a file.

Q1 : I would like to know what is the quickest and easiest way to test the HTTP authentication DIGEST and BASIC from my client side?

Q2 : Have I to install this kind of server or some "test servers" already exist on the Internet?

Q3 : If I have to install one, does it exist a quick way to install and configure it?

Thanks.


回答1:


Consider this question closed.

I install Tomcat server, create a simple web app and read this following information (documentation in french):

  • Tomcat : Memory Based Realm et fichier server/
  • Tomcat : Sécuriser l'accès aux ressources


来源:https://stackoverflow.com/questions/9312609/http-authentication-how-to-quickly-test-client-software-through-basic-and-diges

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!