?
Solved

Java to invoke windows NT ADSI

Posted on 2001-08-10
2
Medium Priority
?
473 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 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
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 …
Suggested Courses
Course of the Month17 days, 3 hours left to enroll

864 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