• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

LDAP, ADS and java API for same

 
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi buddies,
I am to design a web-page (basically a servlet or JSP page) that accepts a username and pwd. The deal is to authenticate this user against the Active Directory Service which is basically on win 2003 server machine. Now hod do I achieve all this??? With a vision of core java programmer, I have something to ask and something to share...

1. ADS uses LDAP or to be more specific LDAP can be used to use ads services?
2. Are their built in API for LDAP services?
3. If no, does the implementation vary from platform to platform...
4. What is the difference between ADS and LDAP, will I be wrong if I say ADS is platform dependent and LDAP is much a protocol implementation?

Any ideas??? And I apologise to the moderators if my question is in the wrong thread for I am really unaware under which thread this should go in. Please channelise it in the right path.
[ April 20, 2006: Message edited by: Akhilesh Trivedi ]
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Java Authentication and Authorization Service is a set of APIs that enable services to authenticate and enforce access controls upon users. Weblogic supports JAAS to LDAP and Active Directory servers (among others) and I'd think most application servers do the same. Consult your server's documentation for details on configuration and implementation.
If you want the bare-bones approach, one can directly access LDAP and AD trees using JNDI.
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry to bring up an old post, but I was wondering if you have found an answer to your problem? I am still working on mine, and I want to know the exact same thing. If you figured this out, please post!!
 
Akhilesh Trivedi
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Heather, We had windows 2003 server and I did the page-designing work with .Net framework then, keeping the abstractions as is. All that was needed was a simple login page.
On the go I remember browsing around OpenLDAP but could not take it to work for me, there is one from Novell as well. I suspect if they both are same.
 
You can't expect to wield supreme executive power just because
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic