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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How do I change a user password using JNDI?

807573Feb 24 2010 — edited Feb 24 2010
Hi all,

I know this is programming question, if I am in the wrong place let me know.

We currently change user passwords using a java web application, however I think we are doing it wrong.

We do a SHA hash on the clear text password and then modifyAttributes() method to to update the BasicAttribute "userpassword". This seems wrong, because if we change the hashing algorithm in the LDAP server our change password program will be broken until we sync up the hashing algorithms.

Is there better way to do this? Any examples would be greatly appreciated. My google searches haven't yeilded anything useful.

Cheers,

Bryan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 24 2010
Added on Feb 24 2010
3 comments
569 views