Hi, All,
I'm new to netweaver and IPortal.
I'm trying to use the IUserMappingService to retrieve mapped username and password. I got sample code from SAP library,and it got compiled by having the
/j2ee/cluster/server0/apps/ sap.com/irj/servlet_jsp/irj/root/webinf/portal/portalapps/com.sap.portal.usermapping/lib/com.sap.portal.usermapping_api.jar inhe class path. I created the system and mapped the user also.
However, when I access the uploaded iview from the portal, I got exception
IUserMappingService class not found.
I invoked the following code in the initialization of my JSPDynPage class. How would this class not in the class path of the portal?
...
IUserMappingService iums = (IUserMappingService)
PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
IUserMappingData iumd = iums.getMappingData (systemalias, iuser);
Map map = new HashMap ();
try {
iumd.enrich (map);
}
...
Do I need to configure something to make this work.
Any help is appreciated, thanks a lot!
Jenny Wang