Re: [cas-user] Does it exist a way to access the Principal inside the flowscope ?

2016-10-19 Thread Claude Viéville
Thanks you for your fast end precise answer ! It works ! Le mercredi 19 octobre 2016 08:35:24 UTC+2, dkopy...@unicon.net 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 associate

Re: [cas-user] Does it exist a way to access the Principal inside the flowscope ?

2016-10-18 Thread dkopylenko
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/ma

[cas-user] Does it exist a way to access the Principal inside the flowscope ?

2016-10-18 Thread Claude Viéville
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 i