How do I use getRemoteUser() ?
According to what I've read in this mailing list, I'm supposed to "protect" the
servlet engine (ApacheJServ) before the above method returns the actual user
name istead of null. Now that I've "protect" the servlet, I cant access any of
my servlets anymore. Netscape keeps saying "Connect. Host etc..." but there's
nothing on the screen. This is what I've done to err.... "secure" ApacheJServ :
I've enabled Apache to "protect" the servlet engine using the following :
1) I've put the following in jserv.conf :
ApJServSecretKey conf/jserv.secret.key
2) Plus in jserv.properties :
security.authentication=true
security.secretKey=/usr/src/ApacheJServ-1.0/payroll/jserv.secret.key
3) I also put jserv.secret.key above in $APACHE-ROOT-DIR/conf
Pls help. As with most open source apps, the ApacheJServ manual is just Greek
to me. Furthermore, I must protect these servlets as anyone can access them once
they got the correct URL - bypassing the web server htpasswd authentication!!!!
Tell me what I did wrong above and I would be truly truly grateful. Thanks in
advance.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html