wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes Accessing windows active directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Accessing windows active directory " Watch "Accessing windows active directory " New topic
Author

Accessing windows active directory

Murali Mohan
Ranch Hand

Joined: Jun 14, 2001
Posts: 47
Dear All,
How can I access the active directory of windows to authenticate the registered users with my application ?
is there any good tutorials or any good resources regarding this topic ?
Any help will be appreciated.
Thanks,
Murali
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

I can think of few things I've done in the past years that were more rife with gotchya's than trying to authenticate against active directory. You can do it with Java's JNDI, but you need an administrator's account to authenticate your application with FIRST, then you can authenticate users. It's a pain. Searching the net I found someone had wrapped the Win32 api for authentication with a JNI wrapper and that worked much better. Try searching for it.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

I dont think this is a JDBC question.
[ October 09, 2003: Message edited by: Pradeep Bhat ]

Groovy
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Pradeep Bhat:
I dont think this is a JDBC question.
[ October 09, 2003: Message edited by: Pradeep Bhat ]

Probably not, but I need to find out where to move it. It has more to do with the javax.naming API than java.sql.
I will find out and then move it accordingly.


GenRocket - Experts at Building Test Data
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Ok, for now this is going in Other Java API's. So I am moving it there.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing windows active directory