CAS User Name From Headers After Authentication

Andrew Petro apetro at unicon.net
Thu Dec 13 12:23:03 EST 2007


Srikar,

Whether and how your application can consume the user name as  
authenticated by CAS is entirely a matter of whether and what CAS  
client software you use.  The Yale Java CAS Client, for example, can  
be configured to wrap the ServletRequest to expose this username as  
request.getRemoteUser().  But this is an implementation detail of that  
particular client library, not a matter of a requirement or feature of  
the CAS protocol itself.

If you'd like to consume the CAS user name via request headers,  
getting to that point is a matter of developing or using CAS protocol  
client binding implementations that accomplish this, e.g. an Apache  
module or the like.

I'm afraid this post won't be very concretely helpful in pointing you  
to particular software to get the job done, but I do hope it helps to  
identify the pieces under discussion here.

Andrew


On Dec 13, 2007, at 10:06 AM, Srikar Kummamuri wrote:

> Is there a way that I can see the CAS user name from the request  
> headers after authentication and proxy forward from the apache. I  
> used the Oracle SSO earlier and used the request headers to fetch  
> the user name when it is not possible to fetch the used name from  
> request.getRemoteUser().
>
> Thanks
> Srikar
> _______________________________________________
> 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/20071213/cc7d0669/attachment.html 


More information about the cas mailing list