Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while using REALM Security

 
ram gaurav
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic