WebSphere Portal Server - UserProfileForm.jsp with Lookaside attributes

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > December 2005 > UserProfileForm.jsp with Lookaside attributes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author UserProfileForm.jsp with Lookaside attributes
rmcclellan103

2005-12-08, 5:58 pm

Hello,

I have defined new attributes in our WMM database, and I am now trying to add those fields to UserProfileForm.jsp so I can populate them with data. After my modifications, I find that I can edit attributes using the Administration > Users and Groups page
, and those attributes show up properly in the People Finder portlet.

However, if the user then selects "Edit my profile" to update personal information, they do not see the data that the administrator entered, and if they enter values, these values do not appear in the People Finder or in Administration > Users and Groups.


I investigated this further and discovered that the Users and Groups page and the Edit my profile page are actually creating separate rows with separate IDs in the WMMLAATR and related tables in DB2.

Does anyone know how to get these two views of the same JSP to edit the proper rows?

Thanks,
Ron
fang

2005-12-09, 2:56 am

Hi, Ron,

My suggestion is to enable WMM traces. Depending on what LDAP is used, the
user profile in LDAP and those attributes in WMM LA tables are tied by the
external identifier (extId). So you may have two different ID for the same
user DN, because the unique ID in LDAP is never reused.

Hope the WMM trace would tell you some more info.

Fang

"rmcclellan103" <rmcclellan@aaaohio.com> wrote in message
news:201621320.1134061784978.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> Hello,
>
> I have defined new attributes in our WMM database, and I am now trying to

add those fields to UserProfileForm.jsp so I can populate them with data.
After my modifications, I find that I can edit attributes using the
Administration > Users and Groups page, and those attributes show up
properly in the People Finder portlet.
>
> However, if the user then selects "Edit my profile" to update personal

information, they do not see the data that the administrator entered, and if
they enter values, these values do not appear in the People Finder or in
Administration > Users and Groups.
>
> I investigated this further and discovered that the Users and Groups page

and the Edit my profile page are actually creating separate rows with
separate IDs in the WMMLAATR and related tables in DB2.
>
> Does anyone know how to get these two views of the same JSP to edit the

proper rows?
>
> Thanks,
> Ron



rmcclellan103

2005-12-09, 6:00 pm

Thanks for the lead, Fang.

Using WMM Tracing I discovered the extId discrepancy. Editing using the Administration > Access > Users and Groups interface produces entries with 'CN=User Name,o=organization', where using "Edit my profile" produces 'CN=User Name,O=ORGANIZATION' (both t
he O and our organization are in caps, and the CN and O values used are just examples).

I looked through the config files, the wmm*.xml files, and the WAS LDAP configuration screens and could see no such discrepancy. We are using Domino 6.5.4 FP1 for LDAP, and our Domino admin showed me that the address book is set up with all caps. Any th
oughts as to where I might be able to change the WMM configuration to match the case used in Domino LDAP?

Thanks again,
Ron
fang

2005-12-09, 6:00 pm

I am not sure about this case. There might be two different code paths that
created two different strings. WMM and WAS (with ignoreCase="true") should
not care about the case, but database string searchs like those in "WHERE"
clause do. I think it's a better idea to open a PMR with IBM and more
investigation is needed.

"rmcclellan103" <rmcclellan@aaaohio.com> wrote in message
news:2111710403.1134160597292.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> Thanks for the lead, Fang.
>
> Using WMM Tracing I discovered the extId discrepancy. Editing using the

Administration > Access > Users and Groups interface produces entries with
'CN=User Name,o=organization', where using "Edit my profile" produces
'CN=User Name,O=ORGANIZATION' (both the O and our organization are in caps,
and the CN and O values used are just examples).
>
> I looked through the config files, the wmm*.xml files, and the WAS LDAP

configuration screens and could see no such discrepancy. We are using
Domino 6.5.4 FP1 for LDAP, and our Domino admin showed me that the address
book is set up with all caps. Any thoughts as to where I might be able to
change the WMM configuration to match the case used in Domino LDAP?
>
> Thanks again,
> Ron



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com