May be i found something !!

https://github.com/apereo/cas/pull/5339 !

cas.tgc.same-site-policy=None 

i write this line into cas.properties, and rememberMe seems to work  !

now i gonna to try to understand this variable

Le mercredi 12 janvier 2022 à 11:33:09 UTC+1, vallee.romain a écrit :

> Hi !!!
> thank you JM and Ray for your answers .
>
> "expiration policy decision making process veries in different CAS 
> versions"
>
> you right, so i try with 6.4.4.2 and remember me option  won't remember 
> session::(
>
> Le vendredi 7 janvier 2022 à 05:06:57 UTC+1, jm a écrit :
>
>> I think that tickets expiration policy decision making process veries in 
>> different CAS versions. You may
>> check the CAS code repository of the version you are using for a accurate 
>> answer.
>>
>> Here are some links you may want to see:
>>
>> https://github.com/apereo/cas/blob/ebf8a8e192ca0569ef92f95421039ad68b44fe3d/core/cas-server-core-tickets/src/main/java/org/apereo/cas/config/CasCoreTicketsConfiguration.java#L349
>>
>> https://github.com/apereo/cas/blob/ebf8a8e192ca0569ef92f95421039ad68b44fe3d/core/cas-server-core-tickets/src/main/java/org/apereo/cas/config/CasCoreTicketsConfiguration.java#L285
>>
>> Those links are about CAS 5.3 version, you may want to check your version 
>> of code by selecting a git tag.
>> If by any chance you are use CAS 5.3.x, this config may help you (may not 
>> be correct, test it yourself before use):
>> cas.ticket.tgt.maxTimeToLiveInSeconds=-1
>> cas.ticket.tgt.timeToKillInSeconds=86400
>> cas.ticket.tgt.rememberMe.enabled=true
>> cas.ticket.tgt.rememberMe.timeToKillInSeconds=1814400
>> 在2022年1月6日星期四 UTC+8 17:20:17<vallee.romain> 写道:
>>
>>> 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/88895fca-b9c6-42b4-b579-a2ff0e265d61n%40apereo.org.

Reply via email to