how to get uid

Scott Battaglia scott.battaglia at gmail.com
Tue Oct 10 10:05:19 EDT 2006


The settings they are talking about would go in your client application.
However, if you're protecting your application with mod_cas at the Apache
level, the Java CAS clients would have no effect anyway.

-Scott

On 10/10/06, Luca Scotto <lucascotto at gmail.com> wrote:
>
> I put this in web.xml but nothing:
>
>         <servlet>
>                 <servlet-name>cas</servlet-name>
>                 <servlet-class>
>                         org.jasig.cas.web.init.SafeDispatcherServlet
>                 </servlet-class>
>                 <init-param>
>                         <param-name>publishContext</param-name>
>                         <param-value>false</param-value>
>               <param-name>edu.yale.its.tp.cas.client.filter.wrapRequest
> </param-name>
>                         <param-value>true</param-value>
>                 </init-param>
>                 <load-on-startup>1</load-on-startup>
>         </servlet>
>
> but no request.getRemoteUser(); request.getHeader("UserId");
> session.getAttribute("edu.yale.its.tp.cas.client.filter.user") works
>
> any idea?
>
> Thanks
> _______________________________________________
> 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/20061010/486ec481/attachment.html


More information about the cas mailing list