I am working on a java web app which uses Smart GWT for the front end, in this app Oauth is used for initial authentication- when a user is successfully authenticated, a token is obtained which contains token expiry time period in seconds.
What I want to do is, pass this expiry time period to my Java code via RPC, and in the server side code set the session timeout to this time period.
There is one question which deals with session timeout, however the solutions mentioned there require use of Servlet/JSP- how do I set the session timeout from server side Java code in a GWT based java web app?