I have a Login Form which a user sends over with there username and password. The form action points to a method in my WS class. I'm wondering how I can store the User that logs in in a session. I'm using JPA and hibernate to store the data in a MYSQL database.
I'm also using JBoss AS 7.1 in case anyone's wondering.