File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Basic Authentication using web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Basic Authentication using web.xml" Watch "Basic Authentication using web.xml" New topic

Basic Authentication using web.xml

Gezza Hall
Ranch Hand

Joined: Jan 04, 2005
Posts: 33
Hi, I have a webapp which uses BASIC authentication using the web.xml and struts. Here is an example segment from the web.xml:

<realm-name>My Realm</realm-name>

We now need the functionality where we want to allow any users from a particular IP address, so that they are not prompted by the pop-up username & password box. Is this possible please?
I agree. Here's the link:
subject: Basic Authentication using web.xml
It's not a secret anymore!