Hi, Thanks for answering. No, but it seems like a thing I need to do. Do you know where I can find a good implementation of HttpServletRequestWrapperFilter?
On Wed, Oct 27, 2010 at 5:07 AM, Scott Battaglia <[email protected]> wrote: > Are you using the HttpServletRequestWrapperFilter?  If so then you can use > the normal Servlet spec request.getRemoteUser() > > On Tue, Oct 26, 2010 at 3:33 AM, Nat <[email protected]> wrote: >> >> Hi, >> I wrote a JSP application that uses CAS for authentication. I have added >> the client jar and configured web.xml file which works just fine. Now I need >> to write a filter for authorization (to check if a certain user can access >> the specified resource) and I got stuck. How do I retreive the username >> (netid) of a logged in user in JSP applications? Thanks in advance for help >> and suggestions. >> -- >> You are currently subscribed to [email protected] as: >> [email protected] >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
