aspose file tools*
The moose likes Servlets and the fly likes Basic Authentication & Realm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Basic Authentication & Realm" Watch "Basic Authentication & Realm" New topic

Basic Authentication & Realm

Drew Lane
Ranch Hand

Joined: May 13, 2001
Posts: 296
I'm trying to write a servlet that connects to another
server and performs Basic Authentication to download
a file.

Is it necessary to include the Realm in the request?

If I just send the username and password is that enough?


I agree. Here's the link:
subject: Basic Authentication & Realm
Similar Threads
why form based authentication does not specify realm
secure display of html pages from a tomcat application
HTTP Status 403 Access to the requested resource has been denied
login config resource not available
what is realm-name of login-config in DD