How to retrieve userid from html application

Scott Battaglia scott.battaglia at gmail.com
Wed Aug 30 11:11:05 EDT 2006


If it sets the remote user, any server side scripting that can retrieve it
from there should be fine (as far as I know)
-Scott

On 8/30/06, Jean-Noel Colin <jn.colin at gmail.com> wrote:
>
> I need the userid to customize the content display to the user according
> to his profile. I'm using mod_cas. I found out that the user id is
> stored in the REMOTE_USER variable that I could retrieve using some
> ColdFusion code. But i'm wondering if this is the best and secure way.
>
> Thanks
>
> Jean-Noel
>
>
> Christopher Brown wrote:
> > phpCAS is pretty easy
> >
> > -----Original Message-----
> > From: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu]
> On
> > Behalf Of Jean-Noel Colin
> > Sent: Wednesday, August 30, 2006 4:47 AM
> > To: cas at tp.its.yale.edu
> > Subject: How to retrieve userid from html application
> >
> > Hi
> >
> > I have a plain html application running under apache. I have protected
> > the directory where the application resides using CAS, but now, i would
> > like to be able to retrieve userid used to login from the html page. As
> > html is static, I guess I would need to have some server-side scripting
> > to retrieve that information? What's the easiest way?
> >
> > Best regards
> >
> > Jean-Noel Colin
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
>
> _______________________________________________
> 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/20060830/66347f8a/attachment.html


More information about the cas mailing list