wood burning stoves*
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 Java 8 in Action this week in the Java 8 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
Authentication doubt
What's wrong with my Authentication
web security not working as expected,
HTTP Status 403 Access to the requested resource has been denied
Problem with enforcing security in web-app