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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "password" Watch "password" New topic


Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, I have a question about servlets that set Authorization headers. I have a servlet that loads passwords as a Properties object, authenticates against the header values from Authorization, and setStatus to SC_UNAUTHORIZED if authentication failed. However, I get 503 error on tomcat if another servlet does the same thing, using the same file. Can anyone please explain to me what is wrong?
Thank you.
It is sorta covered in the JavaRanch Style Guide.
subject: password
It's not a secret anymore!