Hugo,

The Yale Client used in that example doesn't return the principal as far as
I know, merely the remoteUser.  You'd have to use the JASIG CAS Client for
Java which returns both the remote user and the principal when requested
from the HttpServletRequest.

-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia

On Wed, Jun 18, 2008 at 11:35 AM, Hugo Hendriks <[EMAIL PROTECTED]>
wrote:

>  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+%28Seam+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
>
>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to