Skip to Content
author's profile photo Former Member
Former Member

Adding attributes to user's entry on LDAP


I need to add/update attribute values of user entries on LDAP within the java code of an iViewer.

I tried doing it straight forward, using netscape.ldap.LDAPConnection, and got a runtime exception (perhaps a missing ServicesReference?).

I then tried to do it through the IUser api, which I got using:

IUserManagementService umService = (IUserManagementService) request.getService(IUserManagementService.KEY);

IUserFactory userFactory = umService.getDefaultFactory();

IUser user = userFactory.getUser(...);

However, I couldn't figure out the way to do it through that api, niether through the IModifyUser api.

Any help would be appriciated...

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2004 at 07:30 AM

    I finally did it using .NET (with an aspx web form).

    My question now would be: Is there a way to call that form from the Java iView and get back to the Java iView after it's finished?

    I can redirect to it from Java iView by explicitly writing an href tag, but how can I get back?

    Can I redirect to a java iView within an aspx form?

    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.