Thanks. I'll try it.



-----Original Message-----
From: Ananiev, Alexander [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 13, 2000 3:18 PM
To: [EMAIL PROTECTED]
Subject: Re: NT User Authentication


You might want to look at JAAS at http://java.sun.com/products/jaas/, it
comes with NT and Solaris authentication.

Alexander "Sasha" Ananiev
PricewaterhouseCoopers
(703) 845-8366


-----Original Message-----
From: Mark Mascolino [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 13, 2000 2:02 PM
To: [EMAIL PROTECTED]
Subject: Re: NT User Authentication


If you are willing to use Basic Authentication, you can let IIS do
authentication for you automaticly before processing the ISAPI connector for
JRun.  This is documented in the JRun User Manual (at least it was in
version
2.3).

If you dead set against this and still want to authenticate to NT, you need
to
look at how NT exposes its authentication services.  Usually this means
Win32
API calls.  There is a call for LogonUser (check MS's docs on
msdn.microsoft.com).  YOu can use JNI to call this function and based on its
result you can authenticate people.

After you have done authentication, ehe mechanics of actually setting up
Sessions to track authenticated users has been discussed here throughly.

mark






Envelope Sender:    [EMAIL PROTECTED]

From: "Infante, Sergio" <[EMAIL PROTECTED]> on 07/13/2000 01:46 PM

Please respond to A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Mark Mascolino-MR/PGI)
Subject:  Re: [JSP-INTEREST] NT User Authentication




I am using JRUN 3.0 on top of an NT server and IIS 4.0

The purpose is to use an HTML form, authenticate the credentials against an
NT domain and from then on, keep session variables on the java session.
There will be more information and specific application rights about each
user stored in a separate database but I don't want to have users remember
yet another username and password, hence the NT authentication requirement.

Thanks.

-----Original Message-----
From: Mark Mascolino
Sent: Thursday, July 13, 2000 12:56 PM
To: [EMAIL PROTECTED]
Subject: Re: NT User Authentication


You need to give more information.  Such as:


Which Container are you using (e.g. Tomcat or Resin or JRun, etc.)?
Which HTTP Stack are you using?
What Operation System are you using?
Do you want to do HTTP Basic authentication or HTML form/cookie based auth?

mark




 Internet Mail Message
 Received from host: mail2.javasoft.com
 [204.160.241.38]



Envelope Sender:    [EMAIL PROTECTED]

From: "Infante, Sergio" <[EMAIL PROTECTED]> on 07/13/2000 12:00 PM

Please respond to A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Mark Mascolino-MR/PGI)
Subject:  [JSP-INTEREST] NT User Authentication




Can anybody help me determine what is the best (and easy) way to
authenticate a user from a JSP or servlet against an NT domain?

Thanks, Sergio

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

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

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

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

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

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