Package com.sapportals.portal.security.usermanagement : No javadoc ?
Dear all,
I tried to find the javadoc concernig this package "com.sapportals.portal.security.usermanagement" but I did not find it.
Does anyone have any clue where to find it please ?
Thank you advance.
Best Regards.
Greg.
Hi Greg,
I think the reason you're not able to find is because com.sapportals.portal.security.usermanagement is now deprecated. For EP 6.0, the old classes have been re-written to map to the new UME 4.0 classes and methods contained in com.sap.security.api.
please see the document below for details...
USING THE NEW USER MANAGEMENT API IN EP 6.0
https://www.sdn.sap.com/irj/sevlet/prt/portal/prtroot/docs/library/uuid/91f0cd90-0201-0010-a190-c4d7cbd5b463
hope this helps,
harman
Similar Messages
-
Hi,
does anybody know how to get IUser for the current user?
I know how to get current IUser from com.sap.security.api package:
IWDClientUser wdcu = WDClientUser.getCurrentUser();
IUser sapUser = wdcu.getSAPUser();
but I need to have IUser from com.sapportals.portal.security.usermanagement package.
Regards,
LadislavLadislav,
Try this:
Get the IUser uisng the API com.sap.security.api.IUser and store it in a variable, say <i>sapUser</i>.
Then,
// Convert the logged in user to old EP5 usermanagement API
com.sapportals.portal.security.usermanagement.IUser user = null;
try
com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getEP5User(sapUser);
catch (UserManagementException e)
e.printStackTrace();
Bala -
import com.sapportals.portal.security.usermanagement.IUser; is deprecated
Is there any alternative???Hi,
could please tell me, what kind of jar-file I have to add to the project to use
com.sapportals.portal.security.usermanagement.IUser ?
Thank you in advance.
Kind regards, Patrick. -
IUser problem with com.sapportals.portal.security.usermanagement
I am trying to get the current user so I have written
IUser user = request.getUser();
I have imported com.sap.security.api.*;
The compiler insists I need com.sapportals.portal.security.usermanagement.IUser
I thought that version was deprecated or at least not the preferred method?
It keeps saying my classpath is incomplete. Why can't it use the IUser from the com.sap.security.api?
Any help would be greatly appreciated.
Thanks
PaulUpdate
The offending line appears to be IResourceContext myContext = new ResourceContext(user);
when this line is added it causes the above error which I can only assume is because ResourceContext(user) accepts a different kind of user object. does anyone know if there is another way to do this? Here is the rest of the code to see where i am headed:
IUser user = req.getUser();
RID rid = RID.getRID("/temp");
IResourceFactory factory = ResourceFactory.getInstance();
IUserFactory uf = UMFactory.getUserFactory();
IResourceContext myContext = new ResourceContext(user); //this is the line causing the problems.
IResource resource = factory.getResource(rid, myContext);
if(resource.isCollection())
ICollection collection = (ICollection)resource;
IResourceList children = collection.getChildren();
Iterator i = children.listIterator();
the point is i am trying to get the ACL permissions on the children of the rid -
DC for com.sapportals.portal.security.usermanagement .IUser
Hello all,
When developing a local application I can reference class com . sapportals . portal . security . usermanagement . IUser via NWDS local libraries using ECLIPSE_HOME variable and referencing jar file com.sap.security.api.ep5.jar.
There is a standard DC that has this class or jar file?
Or should I add this JAR to an external library.
Regards,
MauricioHi,
You will have to add this jar as an enternal library.
Ashu -
How to make use of package "com.sapportals.wcm.repository"
Dear all,
I am trying to make use the package "com.sapportals.wcm.repository" in my SDK development. But when I entered "import com.sapportals.wcm.repository.*;" in my class, a error given out "The import com.sapportals.wcm cannot be resolved.". What should I do?
Thanks
SamHi Armin,
Sorry that I still got problem on importing and make use of the class for knowledgemanagement. I can found the cooresponding .jar file in folder "jakarta-tomcat-3.3.2\webapps\irj\WEB-INF\plugins\portal\services\knowledgemanagement\lib". And added the services reference as "ServicesReference=htmlb, knowledgemanagement". However, I still can't use the class for KM.
I have read those code sample from KM in SDN, but they are mentioning the programming part and not the setting. Can you suggest the detail steps and code on adding the KM class into my customize class?
I am using Eclipse as my development tools.
Thanks & Regards
Sam
Message was edited by: Sam Choy -
Com.sapportals.portal.prt.jndisupport.InitialContext
In which .jar file do I find com.sapportals.portal.prt.jndisupport.InitialContext ?
ThanksHere is a list of our released NetWeaver APIs:
https://www.sdn.sap.com/sdn/developerareas/ep.sdn?page=javadoc.htm
You can use the tool JarClassFinder (www.alphaworks.ibm.com/tech/jarclassfinder) to find the right jar file.
Best regards,
Marion -
Com.sapportals.portal.prt.service.soap.SOAPRuntimeContext
Is there any class like com.sapportals.portal.prt.service.soap.SOAPRuntimeContext
(which only works in the context of the portal) that can be used from an EJB environment?
Basically, from inside an EJB, I want to get the authenticated IUser object that represents the user who called a secure web service.
Of course, I can use code like this:
String username = myContext.getCallerPrincipal().getName();
IUser user = WPUMFactory.getUserFactory().getUser(username);
The problem is the returned IUser object is not authenticated. The call user.isAuthenticated() returns false.
If I use the SOAPRuntimeContext object, I get an IUser object that is authenticated. That means I can pass the IUser object to the knowledge managament APIs and preform functions as the user who logged into the web service.Dharmi,
Please try this,
Check the jar here
New Reference for Portal APIs
Or you can extract the parfile into your local computer and navigate to PORTAL-INF
-> lib folder there you will find the required jar.
Ramganesan Karuppaiyah -
Com.sapportals.portal.pcd.* not found!
I am new to SAP Portals Development. I have SAP Netweaver 7.0.08 installed on my machine. While trying to create a sample portal project i tried to create a JSPDyn component. The .java and .jsp files are auto-created.
The problem is that the code doesnt compile. Any package starting with com.sapportals is not found by the tool. This is strange as the code itself is auto generated and the packages missing are the basic requirement for any portal application. Can ne1 tell me where can i find the jar files for these packages?
PS:
Not found :
com.sapportals.portal.pcd.*; com.sapportals.portal.prt.service.pcdmanager.IPCDManager;
com.sapportals.htmlb.*;
com.sapportals.htmlb.enum.*;
com.sapportals.htmlb.event.*;
com.sapportals.htmlb.page.*;
com.sapportals.portal.htmlb.page.*;Hi,
You can find here
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal
or
You can download JAR from this link and install it.
<a href="http://www.alphaworks.ibm.com/tech/jarclassfinder/download">JAR files</a>
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2951
Regards,
Senthil K. -
How to refer the class package "com.sapportals.connector" for MDM API?
Hi,
Iam trying to execute one example mdm api program in dynpro/ejb.
I could not refer the class package com.sapportals.connector.
What SCA or build path package needed for dev time and runtime and where do i get that.
Please help me.
Thanks
HariHi Armin,
Sorry that I still got problem on importing and make use of the class for knowledgemanagement. I can found the cooresponding .jar file in folder "jakarta-tomcat-3.3.2\webapps\irj\WEB-INF\plugins\portal\services\knowledgemanagement\lib". And added the services reference as "ServicesReference=htmlb, knowledgemanagement". However, I still can't use the class for KM.
I have read those code sample from KM in SDN, but they are mentioning the programming part and not the setting. Can you suggest the detail steps and code on adding the KM class into my customize class?
I am using Eclipse as my development tools.
Thanks & Regards
Sam
Message was edited by: Sam Choy -
Hi All,
I am configuring SSO between EP7 and SRM 7.0
1) I have created a SRM system in EP system connections works fine with logon ticket.
2) I have uploaded roles from SRM system
but content from these roles throws following exception
Although i have SAP_SRM as system name exception shows System: &#39;SAP_LocalSystem&#39;,
what is the root cause for this exception.
Full Message Text
12:07_02/04/09_0188_7992050
[EXCEPTION]
com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template '<System.Access.ITS.protocol>://<System.Access.ITS.hostname>/sap<ESID>/bc/gui/sap/its/<IAC[SAP_ITS_NAMESPACE]>?sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&DisconnectOnClose=0&DesignBaseUrl=<LAF.BaseUrl[url_ENCODE]>&~design=<LAF.Theme[url_ENCODE]>&<Authentication>&<DynamicParameter[PARAMETER_MAPPING PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 121. Cannot process expression <System.client> because Invalid System Attribute:
System: &#39;SAP_LocalSystem&#39;,
Attribute: &#39;client&#39;.
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.sapapplication.bwc.AbstractBWCComponent.doContent(AbstractBWCComponent.java:68)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Regards,
MuraliHi Murali,
First of all activate the integrated ITS on backend system , follow the below link to do so
www.arlati.ch/knowhow/archive/Integrated_ITS_WebGui.pdf
In EP where you have created SRM system , there you have to maintain the ITS defination and test the ITS defination.
Also Check the permission of the SRM system which you have created.
Thanks
Anil -
Hi ,
Could anyone let me know the exact jar location for com.sapportals.portal.ivs.cg.ConnectionProperties class for NW04s SP11 . Thanks.
Regards
VasudevanHi,
The class mentioned is in com.sap.portal.appintegrator_api.jar. It can be found on the server under location \j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.appintegrator\lib.
Do reward points if the information is helpful.
Regards,
Donald -
Com.sapportals.portal.pcd.IPcdUMEventHandler
Hi All,
Can anyone tell me the exact jar file for
com.sapportals.portal.pcd.IPcdUMEventHandler class.
Regards,
KarthickI think you need the JAR Class finder for NetWeaver Developer Studio:
JAR Class Finder
and:
Using JAR Class Finder
This will help you find the class you're looking for within a directory. If you've got the jar files in one directory, point the JAR class finder to that folder and search
I haven't found it yet on my home PC installation of the Portal SP15 (preview edition). If I find it at work, I'll post it here for you. -
Com.sapportals.portal.prt.registry.PortalRegistry
Hi all,
Please send me this Jar file (com.sapportals.portal.prt.registry.PortalRegistry)
Thanks ,
Rama,
email:[email protected]Dear Matthias,
Can you please try following path:
From the server
The path to download the PAR File from the server
Usr/sap/GPS/JC00/j2ee/cluster/server0/apps/sap.com/irj/servelet_jsp/irj/root/WEB-INF/deployment/pcd/
From the Portal
Login to the portal http://xxx/irj/portal using Enterprise Portal Administrator user id and password.
Go to System administrationà Support à Portal Runtime à Browse Deployment.
The path is ROOT/WEB-INF/deployment/ pcd.
Find any .par.bak. file & download where com.sapportals.portal.prt.registry.PortalRegistry jar file is used.
Copy the jar file and use.
Thanks & Regards,
Patralekha -
hi all
where can i find com.sapportals.portal.prt.service.laf.ILAFService ??
what´s the jar?Hi,
the JAR-File is called lafapi.jar
Is should be located under:
j2ee\cluster\servern\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\lib\lafapi.jar
You can use
http://www.sapjarfinder.com
for such purposes. The site is new and very helpful. You can search for namespaces and the site will give you information on the appropriate jar file and more....
Cheers
Maybe you are looking for
-
SOAP Web Service + Custom Login Module issue
Hi Guys, We faced an authentication issue in our project. Could you please give any advice how the issue could be resolved. Environment: A simple SOAP Web Service on top of POJO class created in a Web Application. The web application deployed to the
-
Bursting Program Errors Out with nothing in the Log file
Hi All I have a RDF which calls a bursting program in After report trigger, the problem i'm facing is that the bursting program is completing successfully for a set of parameters and when again the program is run for the same set of parameters the bu
-
hi folks, I am facing problem in printing report thru Browser, Here is the case we have generated a text file at server using d2k report which we are displaying to user thru our application we have used all formating characters in it , we are require
-
Color 1.0.2 and QT 7.4
I've read that QuickTime 7.4 works best with Color 1.0.2 and QuickTime 7.5 causes problems. If you're running FCP 6.0.3 or 6.0.4, how is it possible to run 7.4 QT with FCP? You can't right?
-
Hi experts, Got message stucked in SMQ2 with failure in BPE. When checked the error message : Error during proxy processing Message A M7 299 cannot be processed in plugin mode HTTP sender is file system fom 3rd party and receiver is SAP. Used BPM. Co