We are a cloud file provider and more geared towards enterprise customers. We have a default session timeout of 6 hours for web ui access and recently customers had a requirement that they wanted to configure a session timeout themselves. As we host multiple customers on one node, this was an interesting requirement and we were discussing all sorts of hacks until I landed on to this api HttpSession.setMaxInactiveInterval.
So now all we need to do is upon successful login, check if admin has overridden session timeout settings for this enterprise and set that on session using the above api.
So now all we need to do is upon successful login, check if admin has overridden session timeout settings for this enterprise and set that on session using the above api.
Comments
Post a Comment