How does a servlet get a username

2004-05-05 Thread Celona, Paul - AES
How does a servlet get a username from a user that has been authenticated using either BASIC or FORM authentication? Paul This email and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom

RE: How does a servlet get a username

2004-05-05 Thread Mark Thomas
request.getRemoteUser() request.getUserPrincipal() See the servlet spec for more information. Mark -Original Message- From: Celona, Paul - AES [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 11:30 PM To: Tomcat Users List Subject: How does a servlet get a username