Re: [cas-user] What configuration for ticket 5.2 ?

2018-03-05 Thread Ray Bon
I think there is a bug with the way the values are processed (just have not had time to verify). What you want is your cookie to have a maxAge of -1. Oddly, the rememberMeMaxAge will be used to set this value. The cookie will last as long as your browser is open. When your browser closes the coo

Re: [cas-user] What configuration for ticket 5.2 ?

2018-03-05 Thread vallee.romain
But -1 to rememberme i will have Infinite Time cookie,no ? -- - 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 Go

Re: [cas-user] What configuration for ticket 5.2 ?

2018-03-05 Thread Ray Bon
Set it to -1. Ray On Sun, 2018-03-04 at 06:40 -0800, vallee.romain wrote: HI ray, try cas.tgc.rememberMeMaxAge instead of which value ? cas.tgc.maxAge=-1 # cas.tgc.domain= cas.tgc.name=TGC #cas.tgc.secure=false #cas.tgc.rememberMeMaxAge=135 cas.tgc.encryptionKey=kGF9P2ZuU0ovlaCWxhiHix1bxH2pG

Re: [cas-user] What configuration for ticket 5.2 ?

2018-03-04 Thread vallee.romain
HI ray, try cas.tgc.rememberMeMaxAge instead of which value ? cas.tgc.maxAge=-1 # cas.tgc.domain= cas.tgc.name=TGC #cas.tgc.secure=false #cas.tgc.rememberMeMaxAge=135 cas.tgc.encryptionKey=kGF9P2ZuU0ovlaCWxhiHix1bxH2pGfqlG5qGzqdxjY4 cas.tgc.signingKey=K5yrl7ThQ5wwX8pbtEgdHF4aDuwUwFkHmhARzSRdNv

Re: [cas-user] What configuration for ticket 5.2 ?

2018-03-02 Thread Ray Bon
Looked at my config again and noticed this (not sure how I missed it before): # default is P14D # used to set maxAge on user selection of remember me at login # it is always set regardless of user choice; this is a bug to investigate # file: https://github.com/apereo/cas/blob/5.1.x/support/cas-se

Re: [cas-user] What configuration for ticket 5.2 ?

2018-03-02 Thread vallee.romain
Thank you Ray for your anwser. But, when cas.tgc.maxAge=-1, it's doesn't affect TGC ticket and when i restart browser, TGC is not removed. I connect to my cas server :

Re: [cas-user] What configuration for ticket 5.2 ?

2018-03-01 Thread Ray Bon
To be clear, what do you mean by 'session'? CAS has a login session identified by the life of the TGT. Your application (service) has a session identified by whatever mechanism it chooses (probably a cookie). Your browser has a session with CAS identified by TGC. Each of these 'sessions' can exp

Re: [cas-user] What configuration for ticket 5.2 ?

2018-03-01 Thread vallee.romain
Thank you Rbon, I just try with maxage=-1 but session is stile alive without check rememberMe checkbox. and a cas.ticket.tgt.rememberMe.timeToKillInSeconds=135 is generate .

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-28 Thread Ray Bon
Romain, You still need cas.tgc.maxAge=-1. No sure what the default is (may be a couple weeks) but setting a cookie maxAge to less than 0 will cause the cookie to be discarded by the browser when it closes. It will stay active in the browser as long as the browser is open, the lifetime of the CA

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-28 Thread Man H
[image: Imágenes integradas 1] its expires 2018-02-28 11:05 GMT-03:00 vallee.romain : > i don't find maxage into the cookie > > Le mercredi 28 février 2018 14:56:24 UTC+1, Manfredo Hopp a écrit : >> >> Cookies hace maxage inside what says yours >> >> El miércoles, 28 de febrero de 2018, vallee.r

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-28 Thread vallee.romain
i don't find maxage into the cookie Le mercredi 28 février 2018 14:56:24 UTC+1, Manfredo Hopp a écrit : > > Cookies hace maxage inside what says yours > > El miércoles, 28 de febrero de 2018, vallee.romain > escribió: > >> Without check rememberme. >> >> the tgc cookie is present . >> >> >>

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-28 Thread Man H
Cookies hace maxage inside what says yours El miércoles, 28 de febrero de 2018, vallee.romain escribió: > Without check rememberme. > > the tgc cookie is present . > > >

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-28 Thread vallee.romain
Without check rememberme. the tgc cookie is present . And for cas.ticket.tgt.rememberMe.timeToKillInSeconds=135 I don't find documentation on tgt , tgc ...

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-28 Thread Man H
Check maxage within cookie El miércoles, 28 de febrero de 2018, vallee.romain escribió: > Thank you all for your response. > I'm surprised the TGC stays after the browser closes. > > For me, if we didn't check "Remember Me", we had authentication per > session and not a cookie. > > > cas.tgc.nam

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-28 Thread vallee.romain
Thank you all for your response. I'm surprised the TGC stays after the browser closes. For me, if we didn't check "Remember Me", we had authentication per session and not a cookie. cas.tgc.name=TGC #cas.tgc.secure=false #cas.tgc.rememberMeMaxAge=135 cas.tgc.encryptionKey=kGF9P2ZuU0ovlaCWxhi

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-27 Thread Ray Bon
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

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-27 Thread Man H
As for tgc properties leave them unchanged. Pd: closing browser does not end cas session. El martes, 27 de febrero de 2018, Man H escribió: > Put only those properties. > To end your cas session you have to logout redirect to login page from > your application otherwise you will get that beh

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-27 Thread Man H
Put only those properties. To end your cas session you have to logout redirect to login page from your application otherwise you will get that behaviour. El martes, 27 de febrero de 2018, vallee.romain escribió: > Thank you for your answer . > > Now i got this > > cas.tgc.maxAge=-1 > # cas.tgc.

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-27 Thread vallee.romain
Thank you for your answer . Now i got this cas.tgc.maxAge=-1 # cas.tgc.domain= cas.tgc.name=TGC #cas.tgc.secure=false #cas.tgc.rememberMeMaxAge=135 cas.tgc.encryptionKey=kGF9P2ZuU0ovlaCWxhiHix1bxH2pGfqlG5qGzqdxjY4 cas.tgc.signingKey=K5yrl7ThQ5wwX8pbtEgdHF4aDuwUwFkHmhARzSRdNvNpXF1FFk_sYIgRHZZV

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-27 Thread vallee.romain
Thank you for your answer . Now i got this cas.tgc.maxAge=-1 # cas.tgc.domain= cas.tgc.name=TGC #cas.tgc.secure=false #cas.tgc.rememberMeMaxAge=135 cas.tgc.encryptionKey=kGF9P2ZuU0ovlaCWxhiHix1bxH2pGfqlG5qGzqdxjY4 cas.tgc.signingKey=K5yrl7ThQ5wwX8pbtEgdHF4aDuwUwFkHmhARzSRdNvNpXF1FFk_sYIgRHZZV

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-27 Thread vallee.romain
Thank you for your answer. only this ? Do I have to comment on the rest of the code? Le mardi 27 février 2018 13:29:34 UTC+1, Manfredo Hopp a écrit : > > Try this > > cas.ticket.tgt.maxTimeToLiveInSeconds=25200 > cas.ticket.tgt.rememberMe.enabled=true > cas.ticket.tgt.rememberMe.timeToKillInSecon

Re: [cas-user] What configuration for ticket 5.2 ?

2018-02-27 Thread Man H
Try this cas.ticket.tgt.maxTimeToLiveInSeconds=25200 cas.ticket.tgt.rememberMe.enabled=true cas.ticket.tgt.rememberMe.timeToKillInSeconds=2592000 To test these set lower values. Also dont use secure=false El martes, 27 de febrero de 2018, vallee.romain escribió: > Hello, > > i try to setup jas