RE: Username and Password

2002-02-07 Thread Christian, Joanne
Hi All, Thanks for your responses. They were very helpful. Joanne

RE: Username and Password

2002-02-06 Thread Tom Gallaway
Would you please take me off your email list. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Christian, Joanne Sent: Wednesday, February 06, 2002 9:30 AM To: Orion-Interest Subject: Username and Password HI All, I'm new to J2EE and Orion. I have

RE: Username and Password

2002-02-06 Thread Aaron Tavistock
Most of this material is not specific to Orion but defined in the J2EE specs. Part of the process is that j_username, etc are effectively 'special values' recognized by the app server when doing authentication, so you really won't ever have access to these values. But since it is defined in the

RE: Username and Password

2002-02-06 Thread Jeff Schnitzer
HttpServletRequest.getUserPrincipal().getName() should do the trick. Jeff Schnitzer [EMAIL PROTECTED] -Original Message- From: Christian, Joanne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 9:30 AM To: Orion-Interest Subject: Username and Password HI All, I'm

RE: Username and Password

2002-02-06 Thread Marc Rabil
You can get the user name for the request like this: request.getRemoteUser() I think, by design, you are not able to get the password from the container. You can however, use the request.isUserInRole() method to see what role they are in. Otherwise, you'll need to access your DB for the

RE: Username and Password

2002-02-06 Thread The elephantwalker
Dear Joanne, String username = request.getRemoteUser(); That does the trick for me. As far as the password, this is what I do. Protect a servlet or jsp(lets say /login) where you want to get the vital information from within your web.xml. Since you have already used form-based