Thanks you for your fast end precise answer ! It works !
Le mercredi 19 octobre 2016 08:35:24 UTC+2, [email protected] a écrit : > > Not directly - i.e. neither Authentication nor Principal objects are > stored in the flow scope. > > However you could use this API to access objects associated with TGT (via > the TGT id, which is available in the flow scope): > > > https://github.com/apereo/cas/blob/v4.2.6/cas-server-core-api-ticket/src/main/java/org/jasig/cas/ticket/registry/TicketRegistrySupport.java > > Cheers, > > D. > > On Oct 19, 2016, 02:23 -0400, Claude Viéville <[email protected] > <javascript:>>, wrote: > > HI, > > I am running the CAS 4.2.6 and i would like to modify the login-webflow to > check several principal's attribitutes before sending TGT to the browser. > > Infortunately, I am not able to retrieve the Authentication or Principal > inside the flowscope. > > Does it exist a way to access the Principal inside the flowscope ? > > Thanks you for your help > > Have a nice day, > > Claude > > -- > 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] <javascript:>. > To post to this group, send email to [email protected] <javascript:>. > Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/ > . > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/16b6aa1b-07b3-4b3a-99f6-71e86b668a21%40apereo.org > > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/16b6aa1b-07b3-4b3a-99f6-71e86b668a21%40apereo.org?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/a/apereo.org/d/optout. > > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/943dec8f-5f39-459b-990b-336809f7372c%40apereo.org. For more options, visit https://groups.google.com/a/apereo.org/d/optout.
