How to enable session and set session timeout in Spring Security

后端 未结 5 2196
轮回少年
轮回少年 2020-12-14 00:53

I am new to Spring Security and I am working on a login, logout, and session timeout feature. I have configured my code by referring to this document. My code looks below:

5条回答
  •  旧巷少年郎
    2020-12-14 01:43

    When using application.properties set property server.session.timeout= value is in seconds.

提交回复
热议问题