CAS together with JBoss Seam

Hugo Hendriks hugo.hendriks at ciber.nl
Wed Jun 18 11:35:40 EDT 2008


Hello,

 

I'm trying to get our application converted to be working together ith
CAS. I saw the example on the wiki
(http://www.ja-sig.org/wiki/display/CASC/Seam+Identity+Integration+%28Se
am+1.2.1+-+2.0.0%29 ) but there are some things missing. The part I
don't understand is how the principal is set in the container because
when I do as the example on the wiki says:

 

Principal rawPrincipal =
facesContext.getExternalContext().getUserPrincipal();

 

I get null. The only thing the CAS server returned was a username as a
parameter in the response. Can anyone tell me how do I get the principal
set by my container so I can use this like in the example?

 

Much thanks & regards,

 

Hugo Hendriks

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080618/6047c12b/attachment.html 


More information about the cas mailing list