Solved

Java to invoke windows NT ADSI

Posted on 2001-08-10
2
430 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
count7 challenge 12 70
java set up 1 48
pairs challenge 5 46
Error with Java/Cache JDBC Classpath 2 21
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
The viewer will learn how to implement Singleton Design Pattern in Java.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now