hi all,

I am trying to set tgt session timeout for my CAS server. I want to config 
CAS to act like this (for testing purpose):

1. if remember me is not checked, TGT will be killed if it is not used to 
grant ST in 10 seconds
2. if remember me is checked, TGT will be killed if it is not used to grant 
ST in 300 seconds
3. if a TGT grants a ST, its TTL will be refreshed to 3000 seconds
4. but no matter remember me is checked or not, a TGT will be killed 30 
seconds after its creation

So this is properties I set:

cas.ticket.tgt.rememberMe.enabled=true
cas.ticket.tgt.rememberMe.timeToKillInSeconds=300

cas.ticket.tgt.maxTimeToLiveInSeconds=3000
cas.ticket.tgt.timeToKillInSeconds=10
cas.ticket.tgt.hardTimeout.timeToKillInSeconds=30

cas.tgc.rememberMeMaxAge=2000

But when I check the remember me box, TGT will never be killed if I use it 
to grant ST less than every *300 seconds.*

It seems like hardTimout is not working when remember me is checked. Is 
this a bug?

I am using CAS 5.3.6 with *redis ticket registry*. Please help, thank you.

-- 
- 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/4a4af29c-73fc-4c8e-a977-e0db2ebea74a%40apereo.org.

Reply via email to