File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes Help!  What Is HTTP authentication()? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » General Computing
Reply Bookmark "Help!  What Is HTTP authentication()?" Watch "Help!  What Is HTTP authentication()?" New topic
Author

Help! What Is HTTP authentication()?

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I have the Windows XP Professional in my machine.
Starting two days ago, whenever I run my application, I get a "Connect to localhost" applet prompted to my screen:
The applet says:
EBasic Authentication Area
and asks User name and Password.
I do not know which User name/Password to fill out. I tried all pairs of username/password that I have ever used, none of them works. When I went ahead to click on the Cancel button in the applet, I got

HTTP Status 401
type: Status report
description: This request requires HTTP authentication().

I know that my application has nothing to do with this problem.
Has anybody encountered the similar situation? And what to do? Please help.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
it is usually browser settings that cause authentication error.
Not positive that this would work, but you may try to do this.
tools, internet options, advanced tab, scroll to bottom.
Look for Enable Integrated Windows Auth. (Req. Restart)
uncheck it if it is checked.
Not positive that it would work...
Eric
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
Thank you, Eric. It still does not work after I tried your suggestion. Anybody has an idea about what is going on?
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 3901
i would try running a virus scanner maybe? i have win98 and on more than one occasion ive had an alert pop up for every page asking for administrator password or something, but it was a password of mine. still dont know what did that.


I never took notes in college. That's how I got a 4.0 the first 2 years, and a 3.5 the second two years.
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I ran this application more than two days ago, and the aforementioned problem did not occur. All I can think of is that I installed the Apache James, which provides a mail server and the name of the server is 'localhost', in my machine about two days ago.
I very much doubt the problem is caused by the James because I have tried to put the James in the recycle bin to see if the problem goes away. It does not.
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
Randall, how to find out the User Name and password of the localhost? I am working on my machine at home; therefore, the administrator is me.
I have tried all username/password combination that I have ever used and cannot get rid of the pop up. Is there anyway to know the username and password of my own machine?
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 3901
JiaPei,
i wish i could help. i just noticed that your problem seems similar to what i experienced in that it occurred for no reason. i remember more specifically now my problem was the content advisor saying i couldnt view the page, and i suspect maybe my prob was caused by a trojan or something changing my settings. i believe i had to change my settings back. like i said i have win98 which is quite different. i just got lucky that the password it wanted was one i knew. i do not see a user name and password in the Apache httpd.conf file. i hope someone can help you. perhaps if you try another forum that is specifically about windows XP. check out this site http://www.tek-tips.com
 
 
subject: Help! What Is HTTP authentication()?
 
Threads others viewed
JDBC Connections Freezing with Multiple Users Accessing DB
Preserving Login Information
Weblogic SP6 Basic Authentication Problem
Mutual Authentication Possible?
basic authentication
IntelliJ Java IDE