🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1578

Re: win32 API calls

#1578
From: Owen Green
Date: Fri, 07 Dec 2001 19:41
34 lines
2437 bytes
TBerry <tberry@vhb.com> wrote in message news:3C110990.680CF638@vhb.com...
> Owen,
>
> I have a web app. for our company's Intranet (for the Internet will be
later).
> It requires that the user login with their username and password. Since
they
> have already logged-in to Windows,  I would like to grab just their
username for
> now so that when they access the web app. they will be automatically
logged-in.
> If accessing the Windows environment for the username differs between
versions,
> I would be coding first for NT4 then 2000.
>
> My options so far seem to be 1. cookies, 2. Javascript & ActiveX, 3.
secure
> applet. I would like to avoid #2, and #3 is uncharted territory for me.

Depends what you're looking for. If all you want is a tempoary measure to
get people on whilst you finish the app itself, then why not restrict access
of the app to your subnet?; if you want proper authentication then obviously
just passing the username isn't going to cut it.

If you /do/ want proper authentication, and your users happen to be
administered from an NT Domain (or an NIS server, or an LDAP server, or...)
then the Java Authorization and Authentication Service is well worth a look,
though it's a bit tricky to get going with at first.

I don't think a secured applet would be that difficult to rustle up, if you
really did want to automate passing the local user over...

Owen
Technical Details
Message-ID: <3c111a64_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!fu-berlin.de!news.uni-paderborn.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3C0EB8A0.D3A3FD09@vhb.com> <3C0F044B.49AD7499@intersystemsww.com> <3C0FCF53.5EC7DEA1@vhb.com> <3c100c9c$2_2@dnews> <3C110990.680CF638@vhb.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,499af87b5b6945ad
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-12-07 11:42:47 PST
From: "Owen Green" <owen@begonefoulmachine.kennulz.demon.co.uk>
Newsgroups: borland.public.jbuilder.java.api
References: <3C0EB8A0.D3A3FD09@vhb.com> <3C0F044B.49AD7499@intersystemsww.com> <3C0FCF53.5EC7DEA1@vhb.com> <3c100c9c$2_2@dnews> <3C110990.680CF638@vhb.com>
Subject: Re: win32 API calls
Date: Fri, 7 Dec 2001 19:41:38 -0000
Lines: 36
Organization: Unique Interactive
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 193.237.54.9
Message-ID: <3c111a64_2@dnews>
X-Trace: dnews 1007753828 193.237.54.9 (7 Dec 2001 11:37:08 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!fu-berlin.de!news.uni-paderborn.de!newsfeed01.sul.t-online.de!t-online.de!dnews