سؤال

I am developing a web application with Spring. I have read about basic and digest authentication fundamentals. However how can I implement it with Java, is there any code example or is there any framework does it form me?

هل كانت مفيدة؟

المحلول

Here is an example with commons http client library...

نصائح أخرى

Since you're already using Spring…

Spring Security implements these things, and its manual is a good place to start reading about it.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top