To simplify this tgtId -> principal "extraction dance", there is a convenience 
API (with the default implementation) in cas-addons that could be used: 
https://github.com/Unicon/cas-addons/blob/master/src/main/java/net/unicon/cas/addons/authentication/AuthenticationSupport.java

Cheers,
Dmitriy.


On Nov 26, 2012, at 1:30 PM, Sandip Paul <[email protected]> wrote:

> Hi CAS Gurus,
> 
> I need to retrieve the username/user object on the casGenericSuccess.jsp?
> After a short google search I found a solution mentioned in the below:
> http://bb10.com/java-jasig-cas-user/2010-10/msg00102.html
> 
> But I am finding difficulties implementing this as I am just a beginner in 
> spring web-flow. Can someone share the code snippet so that I can get some 
> help.
> 
> Highly appreciate your valuable comment on this.
> 
> Regards,
> Sandip
> -- 
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to