Remote User From CAS client 3.1.1

Scott Battaglia scott.battaglia at gmail.com
Tue Mar 4 15:58:56 EST 2008


Then you should take a look at the AssertionThreadLocalFilter which puts the
Assertion (and thus the principal) into a ThreadLocal.

-Scott

On Tue, Mar 4, 2008 at 3:48 PM, Srikar Kummamuri <skummamuri at agentrics.com>
wrote:

>  Scott,
>
> I am trying to get the user inside an application where I don't have
> access to request. All I can do is query the CAS API to get the user. So I
> can not call request.getRemoteUser() and hence trying to get it from CAS.
> I have seen the 2.1 version accessing the filter and getting the user
> directly and thought 3.1 also can get me the user form API.
>
>
>
> Seems like I need to modify the CAS Client Code or generate one more
> class, add it to filters and get the remote user from there.
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>


-- 
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080304/6c56ef4a/attachment.html 


More information about the cas mailing list