Could it be that your config file is not being read?
timeout.maxTimeToLiveInSeconds will give an indefinite sliding window as long
as the TGT is accessed with the time specified.
maxTimeToLiveInSeconds and timeToKillInSeconds give a sliding window up to the
maxTimeToLiveInSeconds as long as the TGT is accessed within
timeToKillInSeconds.
Do _not_ use both settings.
This is my test config:
cas.ticket.tgt.maxTimeToLiveInSeconds=300
cas.ticket.tgt.timeToKillInSeconds=120
TGT will be expired in 2m unless it is used (after initial log in). Each use
will add 2m to expiry time up to max 5m.
Minimum time is 2m.
Ray
On Thu, 2019-06-13 at 02:34 -0700, Uncle Popsicle wrote:
Thanks,I user this properties but did not work,My cas_ticket in redis ttl still
is 28800 。
No matter
cas.ticket.tgt.timeout.maxTimeToLiveInSeconds=1800
Or
cas.ticket.tgt.maxTimeToLiveInSeconds=0
cas.ticket.tgt.timeToKillInSeconds=0
cas.ticket.tgt.timeout.maxTimeToLiveInSeconds=1800
在 2019年6月11日星期二 UTC+8下午11:15:22,rbon写道:
See,
https://apereo.github.io/cas/6.0.x/ticketing/Configuring-Ticket-Expiration-Policy.html
Ray
On Mon, 2019-06-10 at 20:31 -0700, Uncle Popsicle wrote:
Hello all,
How to renew the expire time of TGT,Or there's no need to do that,
Thank you so much
--
Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<javascript:>
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.
--
Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<mailto:[email protected]>
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.
--
- 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/39480bb2cb112cc1fa121f7f0a24ac4891e2f3ab.camel%40uvic.ca.