Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Accessing "userPassword" attribute in Sun One Directory Server (LDAP)

807573May 4 2009 — edited Jun 29 2009
Hi everyone,

I want to access "userPassword" attribute from LDAP. I hope that is the attribute which stores the user's password. Is it possible to do so?

I tried this:
LDAPAttribute paswd = (LDAPAttribute)myEntry.getAttribute("userPassword");

here myEntry is a LDAPEntry that i get after search the LDAP.

The requirement is that, I need to authenticate a user to the LDAP programmatically, but I know only his uid (user -id) attribute.

Please let me know if there is any way to do this..

Thanks in advance...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details