🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: win32 API calls

#1577
From: TBerry
Date: Fri, 07 Dec 2001 18:25
32 lines
2077 bytes
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.

Any info you have to offer is very welcome.
Thank you
Tom Berry


Owen Green wrote:

> TBerry <tberry@vhb.com> wrote in message news:3C0FCF53.5EC7DEA1@vhb.com...
> > Avi,
> >
> > I left out a critical piece of info - I need to do this from the server
> > side. The "System.get...." method only gets the username from the computer
> > it's running on.
> >
> Could you describe exactly what you wish to do, and what your setup is?
>
> If you're trying authenticate against an NT domain, I /think/ that JAAS will
> handle this.
>
> Owen
Technical Details
Message-ID: <3C110990.680CF638@vhb.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3C0EB8A0.D3A3FD09@vhb.com> <3C0F044B.49AD7499@intersystemsww.com> <3C0FCF53.5EC7DEA1@vhb.com> <3c100c9c$2_2@dnews>

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 10:35:41 PST
Message-ID: <3C110990.680CF638@vhb.com>
Date: Fri, 07 Dec 2001 13:25:20 -0500
From: TBerry <tberry@vhb.com>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: win32 API calls
References: <3C0EB8A0.D3A3FD09@vhb.com> <3C0F044B.49AD7499@intersystemsww.com> <3C0FCF53.5EC7DEA1@vhb.com> <3c100c9c$2_2@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 204.243.174.175
X-Trace: dnews 1007749203 204.243.174.175 (7 Dec 2001 10:20:03 -0800)
Lines: 33
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews