Solved

Java to invoke windows NT ADSI

Posted on 2001-08-10
2
452 Views
Last Modified: 2013-11-24
Hi to all,

  I am running a tomcat server with a java program.  This java application that I coded uses a database to authenticate users.  I was just wondering if I could use the java servlet to invoke the microsoft NT ADSI (Active Directory Services Interface) to extract details of domain users and authenticate the user with the NT security.  A few issues here to be addressed:

1.  How do I use Java to call a Windows DLL? Is it possible?
2.  Besides the ADSI library, is there another library that I could use?  Thanks!
0
Comment
Question by:sb7502428
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 100 total points
ID: 6371814
> 1.  How do I use Java to call a Windows DLL? Is it possible?

You use JNI (Java Native Interface) to do this. Basically you have to write a JNI DLL which acts as a bridge between Java and the target DLL.

Not aware of any existing products for interfacing Java and ADSI. LDAP may be a possibility.

0
 

Expert Comment

by:CleanupPing
ID: 9061891
sb7502428:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question