Thank you for replies! as Ray said I store lasLogin in my database, but couldnt realiza how to update it AFTER sending this data to the user, so I added a custom class in login flow to achieve that!
Regards Manfredo 2016-11-10 13:07 GMT-03:00 Ray Bon <[email protected]>: > Manfredo, > > If you are intending to display lastLogin date to the user [as a form of > security awareness], you will have to store that as part of your > application since it would be possible for a user to login through CAS but > not access the application. > > Ray > > > On 2016-11-09 13:13, Manfredo Hopp wrote: > > Thanks Misagh I could imagine your answer, so let me put my use case other > way round. > > After Cas user authentication I want to sent lastLogin Date to the > redirected service > How can I achieve that? > > I was wondering if it was possible through a queryparameter or session > attribute. > > Thanks > > 2016-11-09 17:53 GMT-03:00 Misagh Moayyed <[email protected]>: > >> This is really a question for Spring. >> >> >> >> Short of it is, that it cannot. It’s a bad idea. But you may look into >> RequestContextHolder. >> >> >> >> --Misagh >> >> >> >> *From:* [email protected] [mailto:[email protected]] *On Behalf Of >> *Manfredo >> Hopp >> *Sent:* Wednesday, November 9, 2016 1:15 PM >> *To:* Cas <[email protected]> >> *Subject:* [cas-user] Get HttpSession on authentication Handler >> >> >> >> Hi >> , we have cas 4.0 installed with a modified QueryDatabseAuthenticationHandler >> and want to access >> http Session. >> >> How cas this be done? >> >> Thanks Manfredo >> >> -- >> - CAS gitter chatroom: https://gitter.im/apereo/cas >> - CAS mailing list guidelines: https://apereo.github.io/cas/M >> ailing-Lists.html >> - CAS documentation website: https://apereo.github.io/cas >> - CAS project website: https://github.com/apereo/cas >> --- >> 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/ap >> ereo.org/d/msgid/cas-user/CAB623R_r3AZc0xC%3DGC_OzfxmUghLhR1 >> 0m3Yjznx%2BvqfrS2W_Kg%40mail.gmail.com >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAB623R_r3AZc0xC%3DGC_OzfxmUghLhR10m3Yjznx%2BvqfrS2W_Kg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> -- >> - CAS gitter chatroom: https://gitter.im/apereo/cas >> - CAS mailing list guidelines: https://apereo.github.io/cas/M >> ailing-Lists.html >> - CAS documentation website: https://apereo.github.io/cas >> - CAS project website: https://github.com/apereo/cas >> --- >> 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/ap >> ereo.org/d/msgid/cas-user/01c901d23acb%245ae317d0%2410a94770 >> %24%40unicon.net >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/01c901d23acb%245ae317d0%2410a94770%24%40unicon.net?utm_medium=email&utm_source=footer> >> . >> > > -- > - CAS gitter chatroom: https://gitter.im/apereo/cas > - CAS mailing list guidelines: https://apereo.github.io/cas/ > Mailing-Lists.html > - CAS documentation website: https://apereo.github.io/cas > - CAS project website: https://github.com/apereo/cas > --- > 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/CAB623R8QB%3DFPvshNzW1w0ZoLddfnZg9RWBHTNg > hJsw8HgjaUZw%40mail.gmail.com > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAB623R8QB%3DFPvshNzW1w0ZoLddfnZg9RWBHTNghJsw8HgjaUZw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > > -- > Ray Bon > Programmer Analyst > Development Services, University Systems > 2507218831 | CLE C023 | [email protected] > > -- > - CAS gitter chatroom: https://gitter.im/apereo/cas > - CAS mailing list guidelines: https://apereo.github.io/cas/ > Mailing-Lists.html > - CAS documentation website: https://apereo.github.io/cas > - CAS project website: https://github.com/apereo/cas > --- > 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/1a2096a4-2e83-e661-01cf-38402c25e007%40uvic.ca > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/1a2096a4-2e83-e661-01cf-38402c25e007%40uvic.ca?utm_medium=email&utm_source=footer> > . > -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- 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/CAB623R8fcyfGwW_H9%3De5jNdA2xyDBtEnStA%2B9Y52sTaRxxkXQw%40mail.gmail.com.
