This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Active directory UI" Watch "Active directory UI" New topic
Author

Active directory UI

bipuri charan
Greenhorn

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
Bartender

Joined: Aug 07, 2007
Posts: 2248
    
  47
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
Greenhorn

Joined: Jan 23, 2013
Posts: 3
thankyou.
J. Kevin Robbins
Bartender

Joined: Dec 16, 2010
Posts: 917
    
  13

Look at the javax.naming.* and javax.security.* 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.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

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
Greenhorn

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: http://aspose.com/file-tools
 
subject: Active directory UI