on 02-21-2005 7:47 PM
Hi ,
I think i have to rephrase my question.
I webdynpro , we can get the user inofrmation, who is logged in portal
IWDClientUser user = WDClientUser.getCurrentUser();
similarly is there any way of getting the portal user info from J2ee application...
Thanks in Advance,
Lakshmi
Hi Lakshmi,
first, rethink your question again - the users you work with within the portal are less "portal users" but users accessed via UME. Somehow the history is that the users belong to the portal (from EP5), but meanwhile, users are stored/retrieved via UME, which exists for EP, WebDynpro as well as other J2EE applications - they just have to use it!
So, in the end, the answer to your question definitely is <i>yes</i>! For an overview, see for instance page 3 of https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/using the user management api with ep applications.pdf even if the rest is concentrated on portal dev.
If you want to authenticate against UME, have a look at this thread, for it seems not to be documented in official docs... /thread/26477 [original link is broken]
Hope it helps (and if, please consider rewarding points)
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much Deltev,
it is quite inofrmative and helpful.
now i understood that J2ee application can use UME api
to ger user details(if the user id is known).
IUserFactory userFact = UMFactory.getUserFactory();
getUserFactory().getUser(String uniqueID)
getUserFactory().getUserByLogonID(String logonID)
getUserFactory().getUser(String uniqueID,AttributeList attrList)
In all the three methods i need Login id to get the user details.
But the J2ee application does not have a its own login page .it is supposed to retreive data for the user who is logged in portal.
(the j2ee application is integrated in the portal by cretaing a URL iview and linking the jsp file in the .ear)
so the loginid above should be the portal login id .
in portal components we can get that by
IUserFactory userFactory= UMFactory.getUserFactory();
IUser myUser = userFactory.getUser(request.getUser().getUserId());
now the probelm is how to pass this portal login id to J2ee applicaton(which is called by URL iview)...
can you please let me know if this possible or if i am wrong in understanding the concepts.
Thanks in advance
Lakshmi
> Hi Lakshmi,
> If you want to authenticate against UME, have a look
> at this thread, for it seems not to be documented in
> official docs...
> Detlev
Do you think that this could help on this topic?
Integration of SAP J2EE Engine and UME Authentication
(http://help.sap.com/saphelp_nw04/helpdata/en/15/abdc3ed98f7650e10000000a114084/frameset.htm)
Greetings,
Jordan
Thank you very much Deltev,
Integrating through APPintegartor solved my problem.
now i was able to pass the portal user information to the j2ee application .
the link you have given in another thread solved my problem . https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/the application integrator in ep 6.0
Thanks a lot once again,
Lakshmi
Hi Lakshmi Durga,
i read the pdf included in "The Application Integrator in EP 6.zip" but I am not successful Upload file com.sap.portal.howtos.webapp.par to the portal using component "PortalAnywhere.default" because I have not found the Archive Uploader.
Can you indicate to me how I can upload the par file?
Thanks
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.