Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.