File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Active directory UI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Active directory UI" Watch "Active directory UI" New topic

Active directory UI

bipuri charan

Joined: Jan 23, 2013
Posts: 3
Hi, im lookin to create a User Interface for an active directory using JSP.
As im a starter, i dont have much idea abt it .
please help me out with this.
Thankyou in advance.
Tony Docherty

Joined: Aug 07, 2007
Posts: 1939
I think you will have more chance of getting an answer in the JSP forum, so I have moved it there for you.
bipuri charan

Joined: Jan 23, 2013
Posts: 3
J. Kevin Robbins
Ranch Hand

Joined: Dec 16, 2010
Posts: 632

Look at the javax.naming.* and* packages for authenticating against Active Directory.

At least, that's the way we do it here. There may be other options that I'm not aware of.

"There is no reason for any individual to have a computer in his home" ~ Ken Olson, Co-founder of DEC, 1977
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641

The API you use to access Active Directory as well as the other, more complete LDAP servers is the Java Naming and Directory Interface (JNDI). You can find tutorials on it at places like the Oracle (formerly Sun Java) website.

It's preferable to put the JNDI code in a JavaBean and have your JSPs reference the bean over coding JNDI scriptlets. But then that's true for scriptlets in general.

Customer surveys are for companies who didn't pay proper attention to begin with.
bipuri charan

Joined: Jan 23, 2013
Posts: 3
Thanks a lot for the info. i will try to implement that .... i wish i would get help if i need some later .... Thanks again.
I agree. Here's the link:
subject: Active directory UI
Similar Threads
Active Replication
realm jndi active directory help
Active Directory
JNDI, connect to M$ AD, search for users, change passwords etc.