on 01-02-2006 5:39 PM
Hi
I want to use the SAPPortal User Management service in a PAR DC (using NWDI SP 9)
I need to know which PP do i need to add in order for the following code to compile
IUserManagementService umService = (IUserManagementService) PortalRuntime.getRuntimeResources().getService(IUserManagementService.KEY);
IUserFactory userFactory = umService.getDefaultFactory();
IModifyUser modUser = userFactory.getModifyUser(loggedInUser,loggedInUser);
(For example, in order for htmlb code to compile, I needed to add the com.sapportals.htmlb (default) PP from SAP_JTECHS SC)
As a workaround i can build an external library DC wrapping the
com.sap.portal.usermanagementapi.jar
(located in <SAP J2EE 6.40 insatll dir>\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.usermanagement\lib\,
but i am sure there is a more elegant way to achieve the same)
There is no standard DC that contains the Portal Usermanagement API. There is however the com.sap.security.api.sda DC (in SAP-JEE) that provides the J2EE Engine Usermanagement API. The Portal Usermanagement API is in fact a wrapper around the Engine API.
If you really insist on using the Portal API, you indeed need to create an External Library DC for that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.