Re: Realms JSPs

2003-10-31 Thread Tim Funk
request.getRemoteUser() -Tim Hart, Justin wrote: Hi, I'm kind of new to JSP programming. I was wondering, is there a way to extract the username used to log in(I am using JNDIRealm for authentication), and use that data within the web application from the perspective of the JSP? Any help would

RE: Realms JSPs

2003-10-31 Thread Hart, Justin
Excellent, thanks :-) -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 2:58 PM To: Tomcat Users List Subject: Re: Realms JSPs request.getRemoteUser() -Tim Hart, Justin wrote: Hi, I'm kind of new to JSP programming. I was wondering

RE: Realms JSPs

2003-10-31 Thread Hart, Justin
: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 2:58 PM To: Tomcat Users List Subject: Re: Realms JSPs request.getRemoteUser() -Tim Hart, Justin wrote: Hi, I'm kind of new to JSP programming. I was wondering, is there a way to extract the username used to log in(I am using

RE: Realms JSPs

2003-10-31 Thread Tim Craycroft
Try request.getUserPrincipal().getName(). -Original Message- From: Hart, Justin [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 12:37 PM To: Tomcat Users List Subject: RE: Realms JSPs This seems to come up null for me, as does getAuthType(). I am using JNDIRealm

Re: Realms JSPs

2003-10-31 Thread Tim Funk
: Re: Realms JSPs request.getRemoteUser() -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]