Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Tomcat authentication

  Asked By: Elliott    Date: Apr 16    Category: Java    Views: 1482

I am using Tomcat authentication for a webapp. Currently, i have
configured it for basic authentication and have successfully allowed
users to login.

However, i am also required keep a log on the user who have logged in.
I have done a google search on this and have yet to find any clues on
how i can retrieve the user who have logged in.

Would like to seek advise on how i can go about doing this.



1 Answer Found

Answer #1    Answered By: Anthony Smith     Answered On: Apr 16

You could use AOP Approaches like :
AspectJ and Log4J for logging your web application users.
Another easy way is using seam framework and bring it into your project and use of logging annotation and joy it.

Didn't find what you were looking for? Find more on Tomcat authentication Or get search suggestion and latest updates.