tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <>
Subject Re: sePrincipal
Date Fri, 17 Feb 2006 03:27:48 GMT

<> wrote in message
> 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:
For additional commands, e-mail:

View raw message