Sample Jave code to authenticate web users against Novell LDAP

Posted on 2007-10-04
Last Modified: 2008-09-01

I need some sample java code to authenticate web users against Novell LDAP.
Thanks in advance.

Question by:mrong
    LVL 35

    Accepted Solution

    It would be on the Novell developer wiki site.

    Here's a link to the site:

    Here's a link to where you can find Java-related tools for working with eDirectory via LDAP, JNDI, JDBC, etc.:

    Here's some links to sample code-

    Sample code for LDAP classes for Java:

    Sample code for JNDI:

    Sample code for JDBC:

    LVL 34

    Expert Comment

    No such thing as "Novell LDAP".

    "Novell" is a company. It makes a number of products, including "Identity Manager", "Open Enterprise Server" and "eDirectory".

    I'm assuming you want to authenticate against an LDAP interface to eDirectory. ShineOn links are a good stary. Novell's LDAP interfaces are compliant with LDAP v3. Remember that unlike AD, eDirectory is an actual 3-D hierarchical environment.
    LVL 35

    Expert Comment


    LDAP is an IETF standard access protocol for directory services, originally devised for the x.500 specification that never really took hold as intended - an internet-wide "white pages" with everyone and everything all neatly cataloged and addressable by way of a simple LDAP lookup...

    The Open Group has certified eDirectory to the LDAPv3 specification, and eDirectory is widely regarded as the best enterprise-class LDAP compatible directory service, as reported by Gartner.

    So, technically, you want to write Java code to *use* LDAP to access eDirectory.
    LVL 4

    Expert Comment


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    VB Script 3 60
    post4 challenge 28 70
    Which XML parser should I used for my requirement 11 49
    Fibonacci challenge 11 61
    For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
    By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now