See 
https://apereo.github.io/cas/6.4.x/ticketing/Configuring-Ticket-Expiration-Policy.html

My local settings are (I keep the times short so testing is easier):

# TGT Expiration Policy
# some hazelcast weird shit sets ticket expiration to this value regardless of 
any
# other ttl setting, set it to a smidge longer than max lifetime
cas.ticket.tgt.primary.max-time-to-live-in-seconds=301
cas.ticket.tgt.primary.time-to-kill-in-seconds=120
# hard-timeout takes precedence over primary
# cas.ticket.tgt.hard-timeout.time-to-kill-in-seconds=120

# Remember Me
cas.ticket.tgt.rememberMe.enabled=false
# cas.ticket.tgt.rememberMe.timeToKillInSeconds=300

Ray

On Thu, 2022-01-06 at 01:19 -0800, vallee.romain wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hello everyone.

I'm writing to you to get your opinion.
I would like to do something relatively simple I think, but I do not really 
know how to do it.
It's about the tickets.
I want when a user check the box "remember me" that his session is maintained 
for 3 weeks.
If he doesn't check this option, let his session be maintained for 24H, or 
until his browser is closed.

If you have an example of configuration in cas.properties, I am interested.

Thank you very much for your help.


-- 
- 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/e90cecc4d93b9a4098201e3724f0ab52342bdb05.camel%40uvic.ca.

Reply via email to