Are you using the Jasig CAS Client for Java? If not, then you won't have that class.
On Wed, Oct 27, 2010 at 6:30 AM, Natalia Wieczorek < [email protected]> wrote: > Hi, > I tried to use this: > > > https://developer.jasig.org/source/browse/~raw,r=18673/jasigsvn/cas-clients/java-client/trunk/cas-client-core/src/main/java/org/jasig/cas/client/util/HttpServletRequestWrapperFilter.java<https://developer.jasig.org/source/browse/%7Eraw,r=18673/jasigsvn/cas-clients/java-client/trunk/cas-client-core/src/main/java/org/jasig/cas/client/util/HttpServletRequestWrapperFilter.java> > > but it says that import org.jasig.cas.client.validation.Assertion; > does not exist. > > On Wed, Oct 27, 2010 at 11:05 AM, Natalia Wieczorek > <[email protected]> wrote: > > 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 > > -- 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
