• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

"j_security_check" Problem????

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
The glass is neither half full or half empty. It is too big. But this tiny ad is just right:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic