CAS together with JBoss Seam
Scott Battaglia
scott.battaglia at gmail.com
Wed Jun 18 11:45:04 EDT 2008
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 <hugo.hendriks at ciber.nl>
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
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080618/8f4b206a/attachment.html
More information about the cas
mailing list