user3828274
user3828274

Reputation:

how to upgrade a spring boot application

how to upgrade a spring boot application

Upvotes: 0

Views: 383

Answers (1)

Gas
Gas

Reputation: 18020

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, e.g. 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.

Upvotes: 1

Related Questions