Hi,
I would like to integrate my custom authentication
package with Windows NT.
This allows the users to log onto Windows NT and our
local intranet
simultaneously. I did not have any idea how to go
about, but now, you have
given a good pointer that it is possible through win32
APIs. Can anyone add
more light to it. Once user is authenticated, I would
like to carry the same
user-id and password in the servlet, by keeping it in
the session, till he
leaves the site.
I also would like to authorize the permissions based
on the user.
If someone can provide me useful pointers, I will be
very thankful. Sorry,
if it is slightly offtopic.
Regards
Manisha.
--- "Infante, Sergio" <[EMAIL PROTECTED]> wrote:
> Thanks. That's what I thought.
>
> -----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
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/
===========================================================================
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