This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "password" Watch "password" New topic
Author

password

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 password.properties file. Can anyone please explain to me what is wrong?
Thank you.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: password