Basic and Digest Access Authentication with Java

4k Views Asked by At

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?

2

There are 2 best solutions below

0
On BEST ANSWER

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

0
On

Since you're already using Spring…

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