• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: username and password comparison on LDAP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: username and password comparison on LDAP


  • Subject: Re: username and password comparison on LDAP
  • From: Tonny Staunsbrink <email@hidden>
  • Date: Thu, 6 Oct 2005 09:46:29 +0200

Just make a bind to the LDAP server, that way the directory just functions as a passwordserver (it handles the comparison for us, and return a denied or approved).

I you are just doing binds, use the JNDI API from SUN (After some experiments with webobjects and LDAP, I would problably still use JNDI for other purposes, like administration, as well, when dealing with LDAP. I had a bundle of exeptions when trying to use enterprise object with LDAP idrectories ).

/Tonny
On Oct 6, 2005, at 5:51 AM, .::welemski::. wrote:

HI,

I am still confused on how to implement authentication via LDAP server using WO.
I know there is a website for jndi tutorials but i have no idea as to
how to implement it fo a simple authentication like;


if a user trys to input their username and password and hit login
button they will be redirected to a WOComponent with message of
"Invalid Login" if incorrect else "Valid"

I am able to browse the ldap tables using the tool "Data Browser" it's
cool but one thing I haven't understand yet is where am I gonna find
the answer as to what "o", "ou", "c" etc. im going to use for the
authentication. All I saw in the tables where rDN like this;

uid=diradmin,cn=users
uid=root,cn=users
uid=theusername,cn=users
etc.

Assuming that I have 100 users already on the LDAP server one of them
is a "Directory Administrator" how do I able to just compare the
user's password to the password stored in the "Person"
table/attributes so that i can make an ldap authentication?

Anybody tried using LDAP and WebObjects before, where username and
password is centralized and a very convenient way to the users.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40phonofile.dk


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >username and password comparison on LDAP (From: ".::welemski::." <email@hidden>)

  • Prev by Date: WOWorx(1) & (2) Video posted for Beginners.
  • Next by Date: Re: Wanting to return an .XML document for a direct action
  • Previous by thread: username and password comparison on LDAP
  • Next by thread: Re: username and password comparison on LDAP
  • Index(es):
    • Date
    • Thread