kamaci
kamaci

Reputation: 75137

Basic and Digest Access Authentication with Java

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?

Upvotes: 1

Views: 4145

Answers (2)

Prabath Siriwardena
Prabath Siriwardena

Reputation: 5921

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

Upvotes: 1

Donal Fellows
Donal Fellows

Reputation: 137567

Since you're already using Spring…

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

Upvotes: 0

Related Questions