TGC timeout issue

45 views
Skip to first unread message

Boris P1

unread,
May 12, 2020, 12:00:54 PM5/12/20
to CAS Community
Good morning,

I'am working on the "Remember Me" feature of CAS v5.3.


Thanks to the Maven overlay, in order to make the TGT timeout depend on the last service access, i made the Long-Term Ticket Granting Ticket support a TimeoutExpirationPolicy instead of HardTimeoutExpirationPolicy, in the RememberMe-enabled case:


At the 297 line, i put TimeoutExpirationPolicy instead of HardTimeoutExpirationPolicy (and made others works...).


But i'm wondering if it's possible to give an extension for the CAS cookie lifetime according to the last service access.

In others words, does the Long-Term Ticket Granting Cookie have the capability to support a TimeoutExpirationPolicy like the Long-Term Ticket Granting Ticket does?



TGC infos:





Ray Bon

unread,
May 12, 2020, 2:44:50 PM5/12/20
to cas-...@apereo.org
Boris,

The TGC is only used as a way to 'find' the TGT. As long as the TGT is valid, the cookie is valid. By default, TGC is valid for the session, maxAge = -1.

Ray
-- 
Ray Bon
Programmer Analyst
Development Services, University Systems

I respectfully acknowledge that my place of work is located within the ancestral, traditional and unceded territory of the Songhees, Esquimalt and WSÁNEĆ Nations.

Boris P1

unread,
Jun 10, 2020, 5:48:13 AM6/10/20
to CAS Community
Eventually, i let the default configuration (HardTimeoutExpirationPolicy).

Thank you for your response, rbon, and sorry for my late response,
Boris.
Reply all
Reply to author
Forward
0 new messages