proper user management

View: New views
2 Messages — Rating Filter:   Alert me  

proper user management

by measwel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: proper user management

by Damon G :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You might take a look at Kerberos.  Type "Authentication and Authorization" into Sun's website search engine and see what comes back.