What is session management in Java?

后端 未结 6 1241
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-23 18:20

I have faced this question in my Interview as well. I do have many confusion with Session Scope & it management in java.

In web.xml we do have the entry :

<
6条回答
  •  离开以前
    2020-12-23 18:41

    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.

提交回复
热议问题