>From JSP, it's going to be difficult. You might want to embed an
ActiveX/Applet in the web page to obtain it client-side. If you want to
do it server side, you need to use NT Challenge/Response. This is
bundled with IIS and only works with IE and variants(FrontPage, RealOne,
MSN Explorer). Googling for:

"NT challenge response -IIS"

Yields this interesting link:

http://www.linar.com/jintegra/doc/security/com.linar.jintegra.AuthInfo.h
tml

Seems like JIntegra has some support for it. But the easy way is to find
out in the client-side, unless you're trying to make some security
related desitions based on this(most likely). In such scenario you
either:

A) Make the users login. They might login to the PDC, using a lil'
native code.
B) Put IIS up front.

HTH,

Juan Pablo Lorandi
Chief Software Architect
Code Foundry Ltd.
[EMAIL PROTECTED]

Barberstown, Straffan, Co. Kildare, Ireland.
Tel: +353-1-6012050  Fax: +353-1-6012051
Mobile: +353-86-2157900
www.codefoundry.com


> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]] On Behalf Of Chris Weber
> Sent: Tuesday, November 19, 2002 7:00 PM
> To: [EMAIL PROTECTED]
> Subject: Obtaining NT login ID for use in JSP
>
>
> I have a JSP with different form values that is eventually
> processed by other JSPs, no big deal.
>
> The situation that I am having problems with is with
> security, obtaining the user's login ID without having them
> physically enter it into the form.  I would like to pull the
> user's system id from their NT logon authentication.
> Possibly it's stored in a .sys file, but I'm not sure.
>
> Running NT 4.0 w/IE 5.0.  Any thoughts?
>
> TIA.
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "signoff EJB-INTEREST".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to