[CAS] - How can i read username with CAS 3.

Oh Calcutta ohcalcutta at gmail.com
Thu Aug 7 08:05:23 EDT 2008


I presume you are using client 3.1:
you can always add HttpServletRequestWrapperFilter in your web.xml and 
use HttpServletRequest's getRemoteUser ()

for details see 
http://www.ja-sig.org/wiki/display/CASC/Configuring+the+JA-SIG+CAS+Client+for+Java+in+the+web.xml




khalid yatim wrote:
> Hi,
>
> i want read the usename of my user successfully authentified. I'm
> using cas -server 3 and cas client -3.
>
> I want do the same thing as :
>  String userName = (String)ses.getAttribute(CASFilter.CAS_FILTER_USER);
>
> 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/20080807/fdab1b0d/attachment.html 


More information about the cas mailing list