• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"j_security_check" Problem????

 
dheeraj chhabra
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,

I am making my security application using Tomact server using tomacat API.
I changed Tomcat API accordingly, so that my application uses "security-users.xml" instead of "tomcat-users.xml"......

All are going well such as, creating users,roles etc. And then writing anmd reading from "security-users.xml"..........
But i am having problem with "j_security_check"......

With the loging page of my application..can i use "j_security_check"....
what shud i do for that..........
Could anyone please help me out

Thanks in advance

Regards:
Dheeraj Chhabra
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Tomcat documentation mentions that an example of from-based authentication ships with it. Point your browser at this JSP example, and study the code it uses. The names of the pages are configured in web.xml, and the names of the parameters need to be the same ones as in that example.
 
dheeraj chhabra
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf Ditter,

But i didn't get any clue from jsp-examples under tomcat.....
I just wanna use "j_security_check" to use my "security-users.xml" file for authentication........

And how could it bedone??

Any suggestion in this regard will be helpful to me..
thanks
regards:
Dheeraj
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The login.jsp page in that example uses j_security_check. What is it that you don't understand about the example?
You haven't told us precisely what problem you have, only that something doesn't work the way you expect it to work. But what exactly you have tried, and what the result was, we don't know, so it's hard to advise you on what to do.
[ August 29, 2005: Message edited by: Ulf Dittmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic