permaculture playing cards
The moose likes Tomcat and the fly likes MemoryRealm - BASIC Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "MemoryRealm - BASIC Authentication" Watch "MemoryRealm - BASIC Authentication" New topic

MemoryRealm - BASIC Authentication

Swapan Mazumdar
Ranch Hand

Joined: Jul 23, 2003
Posts: 83
I am trying to implement BASIC authentication for a web app. I am getting following errors. Do I need to create my custom login page and control the validation? I was expecting this to work like windows authentication. Please can anyone help?

2005/11/22 11:58:57 org.apache.catalina.authenticator.FormAuthenticator authenticate
WARNING: Unexpected error forwarding to login page

Following are the entries in the web.xml:
<web-resource-name>Protected Area</web-resource-name>
<realm-name>Basic Authentication Mechanism</realm-name>
Renato Losio
Ranch Hand

Joined: Nov 23, 2005
Posts: 99
Can you add the error message from the tomcat log file?

Renato Losio - -
I agree. Here's the link:
subject: MemoryRealm - BASIC Authentication
It's not a secret anymore!