Hello,
Can somebody tell me how to do proper user management in a webapp? I am building a site using the following technologies: JSF, JPA for DB access, tiles for layout and java for the logic. I have a number of questions:
1) How do I manage the logged in users? My userController is now of request scope type and it is only there when a user logs in or registers. How can I know which user fires up a request? Example code that shows how to handle concurrent users with aforementioned technologies would be greatly appreciated.
2) I have declared a number of beans via faces.config xml file. Are these beans 1 for all, or are the beans (that are of session scope) created per logged in user?
Thank you in advance,
measwel