简体   繁体   中英

how to upgrade a spring boot application

how to upgrade a spring boot application

In the session management (you can do it on server level, which will be the default for all applications, or on application level, which will be for that app only), you can change default timeout, or even set 'No timeout' to disable it completely.

I'd not advise to completely disable, as old sessions will be gathering and storing in heap, which will result in OOM error at some point. So set it to something quite long, eg 8 hours. Also I'd recommend to set it only on application that it is really needed, not on server level for all apps.

Similarly in Global Security > LTPA, you can increase LTPA timeout to similar value. Actually if users are using SPNEGO, they should be seamlessly reauthenticated when LTPA expires, but I dont know how your app will behave in that case.

In general, long timeouts are not recommended as they are using resources without a need and it is very inefficient. Application users should not relay on the session lasting forever.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM