tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Yao <j...@emageon.com>
Subject how to protect servlets in Tomcat?
Date Wed, 10 Jan 2001 23:52:50 GMT
I have configured Apache to protect the directory
TOMCAT_HOME\webapps\examples\servlets
where the links to the actual servlets are stored in the page
index.html. The authentication works fine. But if I try to retrieve the
authenticated user info in a servlet, everything is null, the
getRemoteUser(), getUserPrincipal(), getAuthType() all return null. What
could be the reason? Please help me, this is pretty urgent. I'd
appreciate any hint.
Jie Yao
Software Engineer
Emageon Inc.
jyao@emageon.com


Mime
View raw message