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 <claude.vievi...@univ-lille1.fr>, 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 cas-user+unsubscr...@apereo.org > (mailto:cas-user+unsubscr...@apereo.org). > To post to this group, send email to cas-user@apereo.org > (mailto:cas-user@apereo.org). > 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 cas-user+unsubscr...@apereo.org. To post to this group, send email to cas-user@apereo.org. 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/7ddc32c5-b8dc-496e-bdfd-1685550fba69%40Spark. For more options, visit https://groups.google.com/a/apereo.org/d/optout.