How to manage user authentication/sessions?

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2010-05-20T17:09:10Z Indexed on 2010/05/20 19:50 UTC
Read the original article Hit count: 223

What is the best way to manage user authentication/sessions in a web app, ideally in a clustered environment, using Spring Framework/MVC?

I thought of creating a login bean that creates a jsession for authenticated users and then using AOP to check for the jsession before each controller method inovcation.

If there isn't a better way, what are some possible alternatives? Thanks.

© Stack Overflow or respective owner

Related posts about authentication

Related posts about java