It is possible to do it using jcifs (http://jcifs.samba.org) which is a java
library for accessing samba shares (& windows shares) via java. I currently
have extended my loginuser functionality to do the following:

1) check if the user name trying to log-in is a member of the staff group
2) if so, authenticate the user against the PDC using jcifs -- if valid,
give them extended permissions
3) if not in staff group, authenticate against turbine user tables.

Aparrently in jcifs, there is functionality that actually allows integration
between the username & pw the user uses to log-into the client machine and
the un/pw that is submitted to the samba share, although I haven't bothered
looking into it too much. http://jcifs.samba.org/src/docs/ntlmhttpauth.html
talks specifically about doing what you want to do.... ntlm auth. Over http.
By doing this, you are limited to using MSIE, I believe...

Hope this gives you a start.

-d 

-----Original Message-----
From: Kleinhenz Thorsten [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 03, 2002 6:31 AM
To: '[EMAIL PROTECTED]'
Subject: Possible to use a nt user account to log into Turbine?

Hello,

I'm developing an intranet application using TDK 2.1 on WinNT4 / W2k.
Is it possible to use the system user account to log into Turbine so the
user only has to login once at the beginning? In Java one can get the
username via 'System.getProperty("user.name")' but I think that won't help
as long as the Java classes run on the server, not on the client.

Does anyone know how to get the login working this way?

Regards,
Thorsten

--
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