tomcat-users mailing list archives

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

<anil_a@shaw.ca> wrote in message news:43F50511.4060304@shaw.ca...
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message