Hi,
Can anyone tell me if I can use User Mapping to help overcome the following problem:
I've developed a jsp & dynpage component that interfaces with LDAP(edirectory) to display information about the current logged on user e.g. time until the password expires etc.
To get this information from the edirectory api, I have to supply the administrator password. I don't want to hard code this password. Is there anyway I can access it using the UM api?
The portal admin is also an admin on the LDAP server if this helps.
Thanks,
Rash
To make matters easier, does anyone know how to get the password for the current logged on user?
This should be fairly trivial but I've not been able to find any examples.
Thanks.
Message was edited by: Rashad Bashir
Oops...pesky mouse. Sorry about the duplicate post!
On the other hand, you can also look at UME interfaces to retrieve the user info.
It is possible to user User mapping interfaces to get userid/password from user mapping configuration. This way you don't have to hardcode password. I posted a sample code in one of the replies, you may want to search...
Add a comment