I recommand Apache Shiro for session management,Authentication and authorization.
I take it back.
As @BalusC commeneted below, only servlet container is in charge of managing the http session. Shiro is just using that. It will hook to HttpSession via a filter you explicitly define.