Skip to Content
author's profile photo
Former Member

User Mapping

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Mar 29, 2004 at 03:02 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Mar 29, 2004 at 03:07 PM

    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!

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Mar 29, 2004 at 11:58 PM

    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 comment
    10|10000 characters needed characters exceeded