> Paul Nadler wrote:
> Folks -
>
> Does anyone know a way (preferably a straightforward way) for JSP
> code to pick up the user's NT Login via the rowser? We'd like our
> servers to know the user's network login ID without the user having
> to log in to the browser. (In other words, we'd like to create
> something akin to a "trusted connection").

Paul,

This is only possible using VBScript on IE with IIS as your server
(basically, use ASP).  If you are looking for a way to authenticate (using
an NT Domain Controller as your source of user information) then you can
write java code which implements NTAP (there is plenty of documentation on
how NTAP works) but this will still require the user to type their NT
username and password within the web page.

The solution to roll your own NT Authentication Protocol class is not
trivial, but will give you browser and server independence.  I believe
jIntegra (dont remember the url off hand) does have this sort of
functionality built into its package, but that package is quite expensive
and from my experiences, you are better off construction your own objects to
perform the NTAP.

So, in answer to your question, a trusted connection can be achieved by
using a very specific architecture (from server to browser) or you can write
your own method to perform the authentication which still requires the user
to actually type in the information and submit it to the server (unless you
use cookies or some method to "remember" that information).

Hope this sheds some light on your situation (one which I faced for quite
some time) :)

> Thanks.

-jeff

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to