• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Authenticate User against Windows Directory.

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
In my company there is need to authenticate the user against windows active directory.
So i need your help.Please tell me the way how i can authenticate the user against Active directory.
I read some where i can do it with LDAP server.but i dont know about LDAP server.
Is there ay way to access activer directory without ldap.
Also please tell me how i can use activeds.IADsOpenDSObject class in my java code.

Please HELP me....

Thanks.
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Apparently it is possible to authenticate against an Active Directory in JSP. You will need to use naming and directory services as shown here http://java.sun.com/products/jndi/tutorial/basics/index.html Active Directory is just Microsoft's version of LDAP which means that you will need to use somehting like EasyLDAP http://easyldap.sourceforge.net/ in JSPs.

The bad news is that Active Directory is not very easy to access as the format is proprietry. Here's an example were someone did it http://www.itworldcanada.com/a/ComputerWorld/cedfab08-1d50-47b9-9711-1d835ca6e366.html
 
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
What application server are you using? I know Weblogic has an Active Directory authentication provider.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic