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:

https://github.com/apereo/cas/blob/5.3.x/core/cas-server-core-tickets/src/main/java/org/apereo/cas/config/CasCoreTicketsConfiguration.java#L297

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:

https://github.com/apereo/cas/blob/5.3.x/core/cas-server-core-cookie-api/src/main/java/org/apereo/cas/web/support/TGCCookieRetrievingCookieGenerator.java

https://github.com/apereo/cas/blob/5.3.x/core/cas-server-core-cookie-api/src/main/java/org/apereo/cas/web/support/CookieRetrievingCookieGenerator.java

https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#ticket-granting-cookie

https://apereo.github.io/cas/5.3.x/protocol/CAS-Protocol-Specification.html#415-long-term-ticket-granting-cookie-properties

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/b7aa3c5d-a7ed-40bc-8d91-e0a0e8eeeb61%40apereo.org.

Reply via email to