This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Problem while using REALM Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem while using REALM Security" Watch "Problem while using REALM Security" New topic
Author

Problem while using REALM Security

ram gaurav
Ranch Hand

Joined: Mar 29, 2006
Posts: 208
Hi

I am using REALM Security Mechanisim for the first time.
I have created the following files :

1. /META-INF/context.xml
And its contents are as follows:



2. /WEB-INF/users.xml
And its contents are as follows:



3. /WEB-INF/web.xml
And its contents are as follows:



I am using TOMCAT 5.x and when i am writting the URL in browser:

http://localhost/RealmTesting/admin/index.jsp

As my resource is in admin folder.

It popup a window and asking me username and password but not accepting even i am entering right credentials.

Can you please tell me where i am goin wrong?

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem while using REALM Security
 
Similar Threads
HTTP Status 403 Access to the requested resource has been denied
What's wrong with my Authentication
web security not working as expected,
Problem with enforcing security in web-app
Authentication doubt