<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi All > > I trying setPrincipal on request on tomcat 5.0.30. But servlet.api.jar > that comes with tomcat does not have setPrincipal method on HttpRequest > class. I look at the tomcat source and on AuthenticationBase class uses > that method to setPrincipal. Am I using wrong servlet api jar? which one > should I use? >
AuthentictorBase calls setPrincipal on Tomcat's internal Request object. While this happens to implement HttpServletRequest, it is entirely different from the HttpServletRequest that is seen by the webapp. > thanks for any replies in advance. > > anil --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]