You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mikolaj Rydzewski <mi...@ceti.pl> on 2006/10/09 09:14:24 UTC

getRemoteUser and

Hi,

I use J2EE securitty in my application. I need to know username of 
authenticated user. So are there any differences between 
request.getRemoteUser() and request.getUserPrincipal().getName()? I 
know, I'd get NPE with second call with unauthorized user, but some more 
differences?

-- 
Mikolaj Rydzewski <mi...@ceti.pl>