Thanks,

Without wishing to sound ungratefull, I have spent ages wading through the
docs, managed to miss this! That's the trouble with Java, all these huge
APIs to struggle through.

your help is appreciated!

HM

-----Original Message-----
From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2002 14:46
To: 'Tomcat Users List'
Subject: RE: How to get logon name in Real Authentication


Try the java documentation on
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html It has been
reported as being of help sometimes ;-)

I'm using 

        request.getRemoteUser();

to determine the login-name, where "request" is the implicit jsp-object of
type HttpServletRequest.

greetings

Andreas Mohrig

-----Original Message-----
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 3:42 PM
To: '[EMAIL PROTECTED]'
Subject: How to get logon name in Real Authentication


Hi,

I know I'm going to be given hell here, but can find no information on
this....

I have JDBC Realm authentication using Form-Based type login. All works
fine.

Now, how can I get the login name that the user has used. How do I tell in a
bean or whatever (well, I'm using STRUTS), who the user is?

Howard

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to