[cas-dev] JASIG CAS Client for Java 3.1.0-RC1 - how to access User ID

Scott Battaglia scott.battaglia at gmail.com
Fri Jan 4 07:29:51 EST 2008


Alar,

Yes, the JASIG CAS Client for Java 3.1 has a
HttpServletRequestWrapperFilter:
http://www.ja-sig.org/wiki/display/CASC/Configuring+the+JA-SIG+CAS+Client+for+Java+in+the+web.xml

You can use that to access either the Principal object or the remote user.
You can also use the AssertionThreadLocalFilter to make the Assertion
available anywhere in your application.

-Scott

On Jan 4, 2008 12:18 AM, Alar <ng at wbgrupp.net> wrote:

> I can not figure out how to access User ID from java code after
> successful login.
>
> There is HttpServletRequestWrapperFilter example in
>
> http://www.ja-sig.org/products/cas/client/client-java/index.html
>
> but I'm not sure if is can be applied to client version 3.1
>
>
> Thanks for tips!
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>



-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20080104/b92e031e/attachment.html 


More information about the cas-dev mailing list