Hello,

Did you manage to find a solution to your problem?
I have to add separated pages too, and only managed to be redirected to the 
login page.
Is there a hack I could do, with the web.xml for example, I didn't see?

Thank you
Yann Lefèvre

Le jeudi 1 décembre 2016 19:50:47 UTC+1, Yan Zhou a écrit :
>
> Hi there,
>
> I need to add a couple screens to CAS 4.1.x overlay project to extend some 
> functions. These pages are only for authenticated users.  This is _not_ 
> extending CAS flow, I want to add separate JSP pages backed by Spring 
> controllers. These pages have nothing to do with CAS login flow.
>
> But, I cannot get the authenticated user name on these pages, even after I 
> login to CAS successfully, the default CASGenericSuccess.jsp shows user 
> name as ${principal.id} because the underlying action class is retrieving 
> user name from TGT. 
>
> How would I get authenticated user id on these separate JSP pages that are 
> part of CAS?
>
> Thx!
> Yan
>

-- 
- 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/2a9efe6a-c954-4315-ad4f-5c5d4d063491%40apereo.org.

Reply via email to