Hi, This does not solved the problem, with this I can restrict access to user group or allow access.
Once the user has access I need to know who he or she is so that I can query the database with respect to his or her user_id. And So how would I do this. Thanks D --- Hiroshi Iwatani <[EMAIL PROTECTED]> wrote: > Write <tomcat-users> element in the tomcat-users.xml > file. > > deepak suldhal wrote: > > Hi, > > I followed the JDBC document posted on Tomcat > site. > > and it works fine. I am able to access the > database > > and see the results. > > > > My question is. > > > > I have different users who will be using my > > application > > and I need to validate these users before I > provide > > them acesss to database. > > > > How would I do this ?. Since tomcat has the user > name > > and password already in the context, How would > know > > which user is accessing. > > > > Thanks > > D > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - You care about security. So do we. > > http://promotions.yahoo.com/new_mail > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > -- > Hiroshi Iwatani > > *stop cruelty* Annual number of institutionally > euthanized cats and dogs > including kittens and puppies: US 5 million, JP 500 > thousand. How about > your country? *for our better karma* > --------------------- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]