Romain, I guess cas.tgc.remeberMeMaxAge overrides cas.tgc.maxAge. If you want your session to end when browser is closed, leave out cas.tgc.rememberMeMaxAge.
Ray On Tue, 2018-02-27 at 00:09 -0800, vallee.romain wrote: Hello, i try to setup jasig TGC for this use case : When i check rememberMe : 1 months without need to enter login.password When i don't check rememberme : 7 hours unless i close the brother . If i close the brother, i would like to have login/password prompte at next login. I think rememberMe if ok . But when i try to closed/open the brother, the session is already up . # cas.tgc.path= cas.tgc.maxAge=-1 # cas.tgc.domain= cas.tgc.name=TGC cas.tgc.secure=false cas.tgc.rememberMeMaxAge=1350000 cas.tgc.encryptionKey=xxxxxxxxxxx cas.tgc.signingKey=xxxxxxxxxxxxxxxxx cas.tgc.cipherEnabled=true # #remember me 31 days in seconds # # Set to a negative value to never expire tickets cas.ticket.tgt.maxTimeToLiveInSeconds=1350000 cas.ticket.tgt.timeToKillInSeconds=7200 cas.ticket.tgt.rememberMe.enabled=true cas.ticket.tgt.rememberMe.timeToKillInSeconds=1350000 cas.ticket.tgt.timeout.maxTimeToLiveInSeconds=1350000 ## #Throttled Timeout ## cas.ticket.tgt.throttledTimeout.timeToKillInSeconds=28800 cas.ticket.tgt.throttledTimeout.timeInBetweenUsesInSeconds=5 cas.ticket.tgt.hardTimeout.timeToKillInSeconds=28800 Have you got an idea ? Best regards Romain -- Ray Bon Programmer analyst Development Services, University Systems 2507218831 | CLE 019 | r...@uvic.ca -- - 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 cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/1519748630.1801.21.camel%40uvic.ca.