Error in Accessing User Mapping Data
Hi,
When i tried User Mapping by going to
"UserAdministration -> UserMapping" , or
"Personalize" -> "User Mapping"
it gives the error msg ,
Problem in accessing user mapping data for selected system.
Due to this i am not able to create appointments or see the availability status of a user.
Also, for your information i have Strong Encryption files installed.
Pls help.
Thanks in advance..
Hi venkat,
You need to change the default value in UME configuration
System admin -> System Config -> UM Configuration -> Direct Editing
ume.usermapping.unsecure=TRUE
Regards
PS: Please consider rewarding point
Similar Messages
-
Accessing User Mapping Data- urgent
Hi,
At this moment I´m developing a portal component in developer studio, this component is made to search information from a R/3 system.
When I try to display the result of the component in the portal, i can't obtain it , because I can´t do usermapping.
So I decided to hardcode it in my code, so it writes which user and password of the R/3 system I want to use.
I know how to get userId of the user:
"String uid = "user";
IUser user = UMFactory.getUserFactory().getUserByLogonID(uid);", but I do not know how get the password of the same user.
Already I searched in the API, but I didn't found anything.
Is there any methods that can help me?
ThanksHi Helena,
How are u accessing the R/3 system in your code?
I beleive u might be accessing thru a System created in portal. If this is the case then go ahead and create a User mapping for this System under User Admin->User Mappping.
once the User mapping is done u can retrieve the Usermapping Data using the following code.
IUserMappingService umserv= (IUserMappingService)PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
HashMap usermap=new HashMap();
IUserMappingData umdata = umserv.getMappingData("System_Alias",request.getUser());
umdata.enrich(usermap);
String username = (String) usermap.get(IUserMappingService.UMAP_KEY_USER);
String userpassword = (String) usermap.get(IUserMappingService.UMAP_KEY_PASSWORD);
Hope this helps.
~Deshdeepak -
User Mapping Data through IUser.getTransientAttribute()
Hi All,
Was wondering if there is a way I can get all the IUserMappingData for an IUser without having to specify the system name.
i.e. Like I can call IUser.getRoles() can I do a similiar thing for User Mapping Data?
I thought maybe -
IUserMappingData nameSpaceMappingData = (IUserMappingData)iUser.getTransientAttribute(IUserMappingData.USER_MAPPING_NAMESPACE, ?name?);
But not sure what to put in as the attribute name, whether I put user, mappedpassword, systemalias, etc.
Any suggestions?
Cheers,
Scott...storeLogonData(null);
How simple (and stupid of me!) was that? -
The question says it all:
What Are The Minimum Permissions In Order An User To Be Able To Access User Profile Data With JavaScript And REST API.?
In the User Profile -> Permissions there is only the option for "Full Control".Hi Nikolay,
Thanks for posting your issue, you need to set permissions on User Profiles = Read. Kindly find the below mentioned URLs to get the code and more details on this.
http://www.vrdmn.com/2013/02/sharepoint-2013-working-with-user.html
http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
http://sharepoint.stackexchange.com/questions/61714/sharepoint-2013-call-the-rest-api-from-sharepoint-hosted-app
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/04/09/how-to-query-sharepoint-2013-using-rest-and-javascript.aspx
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
Error occurred while reading the selected user mapping data
Dear all,
System Details:
Ecc 5, nw04, ep6. QAS abap and JQE (sid) portal on seperate servers. UME option java database.
Details:
While mapping the user to SAP_WebDynpro_Xss i m getting the error mentioned in subject.
My user id and passwords are correct and working fine in QAS system, what to check, please.
Regards
ImranHello Imran,
When you install EP you have 2 options: "Weak Encryption" and "Strong Encryption".
If you choose the "Weak Encryption" option (as most of us do in development systems...),
you should update a certain UME property, in order to avoid errors in user mapping.
If that is the case:
1. Navigate to <i>System Administration</i> -> <i>System Configuration</i> -> <i>UM Configuration</i>
2. Choose the tab <i>Direct Editing</i>
3. Set the property <i>ume.usermapping.unsecure</i> to TRUE.
4. Save all changes
5. Restart the J2EE engine.
Hope that helps,
Yoav. -
Are there any APIs to access user personalization data from java
Hi gurus,
We want to access personalization data for a user from java using API. This includes user mapping also.
If you are aware of any api please let me know.
Thanks in advance.
Regards,
Pratik ThakkarHi Pratik,
You can also retrieve a system object and get the user mapping for the system:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
env.put(Context.SECURITY_PRINCIPAL, request.getUser());
env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
iCtx = new InitialContext(env);
ISystem pcdSys =(ISystem)iCtx.lookup(sysId);
ISystemUserMappingData um = pcdSys.getUserMappingData(request.getUser());
From this object you can get the user, password and other properties.
As for personalized values of iView attributes, you can an environmental value before create the initial context to indicate to return personalized value, as follows:
env.put(IPcdContext.PCD_PERSONALIZATION_PRINCIPAL, request.getUser());
Hope this helps.
Daniel -
Error:Make sure user mapping is correct & all connection properties r right
Hi,
I am using SRM 5.0 and EP 7.0 I had imported the verify.der certificate of portal on SRM and changed the profile parameters of SRM to accept tickets.
And now after creating a system object for Srm on Portal I tried to test the connectivity and it shows the following error.
"Connection failed. Make sure user mapping is set correctly and all connection properties are correct."
ANy ideas? Please advice.
SwethaMy simple rule is to ignore the message as the test tends to give false negatives. Instead try to access the system with an iView, such as SAP transaction, or use System admin -> support -> SAP application -> scroll down to SAP transaction.
Cheers -
Outlook Web Access & User Mapping
Hello everyone,
I know this question has been asked often and I have attempted to read as many messages related to this topic as I possibly can but I haven't been able to locate an answer that works (or that I fully understand).
I'm running EP6.0, SP13 on a Windows 2003 server.
Our corporate email is running Exchange 2000 SP3.
I've been able to successfully setup my Exchange Transport in that I am able to successfully connect to the Calendar repository and I have been able to create my SAP-provided Outlook Web Access iViews.
My question/problem that I have is, is there a way to get around the fact that when a user first accesses the OWA iviews, they get prompted for their domain user ID and password?
I setup User Mapping for the Exchange server and figured that would get around a user having to enter their user name and password.
Is that not the case?
I've reviewed the documents: "How to...Create iViews to Access Exchange Data", "How to analyze Microsoft Exchange integration with SAP Enterprise Portal 6.0" and "Integration of Outlook Web Access (OWA) into SAP Enterprise Portal" but haven't found a definitive answer.
Thanks in advance for your help!
~HenryHi Henry
Check out the following links
/thread/40895 [original link is broken]
https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://Outlook integration with EP 6.0 SP9
Regards
Rajeev. -
Portal Runtime Error while performing User Mapping to SAP SRM
Please find below the error I received while User Mapping from Enterprise Portal to SAP SRM :
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_mapping/com.sap.portal.userMappingAdmin/com.sap.portal.userMappingAdmin
Component Name : com.sap.portal.usermanagement.admin.UserMappingAdmin
User Mapping not fully available..
Exception id: 04:21_23/06/05_0073_8097650
See the details for the exception ID in the log fileHi,
yes, Karsten is correct. Just some background:
"User Mapping not fully available.." finally means that user mapping is configured to use strong encryption, but the main crypto key for user mapping is missing. Usually, that's because "SAP Java Cryptographic Toolkit" and/or "JCE policy files for unlimited strength encryption" are not installed (or the server hasn't be restarted afterwards). The note will most likely help
Best regards
Heiko -
"Syntax error or access violation" on Data Flow Task OLE DB Data Source
I am implementing expression parameter for a SQL Server connection string (like this: http://danajaatcse.wordpress.com/2010/05/20/using-an-xml-configuration-file-and-expressions-in-an-ssis-package/) and it works fine except when it reaches data flow
task - OLE DB Source task. In this task, I execute a stored procedure like this:
exec SelectFromTableA ?,?,?
The error message is this:
0xC0202009 at Data Flow Task, OLE DB Source [2]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80004005 Description: "Syntax error or access violation".
Error: 0xC004706B at Data Flow Task, SSIS.Pipeline: "OLE DB Source" failed validation and returned validation status "VS_ISBROKEN"
When I change the SQL command above with reading from table directly it works fine. I should also add that before changing connection string of the SQL data source to use expression, the SSIS package was working fine and I know that the connection string
is fine because other tasks in the package works fine!
Any idea why?Hi AL.M,
As per my understanding, I think this problem is due to the mismatching between the source and the destination tables. We can reconfigured every of components of the package to check the table schemas and configuration settings, close the BIDS/SSDT and then
open and try to see if there are errors.
Besides, to trouble shoot this issue, we can use the variable window to see the variable's value. For more details, please refer to the following blog:
http://consultingblogs.emc.com/jamiethomson/archive/2005/12/05/2462.aspx
The following blog about “SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred: Reasons and troubleshooting” is for your reference:
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2009/11/10/ssis-error-code-dts-e-oledberror-an-ole-db-error-has-occurred-reasons-and-troubleshooting.aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Error when access User Administration / Identity Management
The user 'administrator' is locked.
When I try to access User Administration / Identity Management area to unlock the 'administrator' user I got the following error:
Can anyone help me ?
#1.5#0050569F4EE700610000003F0000070400043B1305FE89C8#1190852804709#com.sap.security.core.wd.jmxmodel.JmxModelCompInterface#sap.com/tcwddispwda#com.sap.security.core.wd.jmxmodel.JmxModelCompInterface#daniel.silva#498####531a11606c9011dcb22f0050569f4ee7#SAPEngine_Application_Thread[impl:3]_18##0#0#Error##Java###public void supplyUmeProperties(IPrivateJmxModelCompInterface.IUmePropertiesNode node, IPrivateJmxModelCompInterface.IContextElement parentElement)
[EXCEPTION]
#1#java.lang.reflect.UndeclaredThrowableException
at com.sap.security.core.jmx._gen.IJmxServer$Impl.getUmeProperties(IJmxServer.java:1199)
at com.sap.security.core.wd.jmxmodel.JmxModelCompInterface.supplyUmeProperties(JmxModelCompInterface.java:847)
at com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface.supplyUmeProperties(InternalJmxModelCompInterface.java:506)
at com.sap.security.core.wd.jmxmodel.wdp.IPublicJmxModelCompInterface$IUmePropertiesNode.doSupplyElements(IPublicJmxModelCompInterface.java:3892)
at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:408)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:351)
at com.sap.tc.webdynpro.progmodel.context.Node.createMappedElementList(Node.java:500)
at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:395)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:351)
at com.sap.tc.webdynpro.progmodel.context.Node.createMappedElementList(Node.java:500)
at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:395)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:351)
at com.sap.tc.webdynpro.progmodel.context.Node.createMappedElementList(Node.java:500)
at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:395)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:351)
at com.sap.tc.webdynpro.progmodel.context.Node.getElements(Node.java:339)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:617)
at com.sap.tc.webdynpro.progmodel.context.Node.getCurrentElementInternal(Node.java:870)
at com.sap.tc.webdynpro.progmodel.context.Node.getCurrentElement(Node.java:877)
at com.sap.security.core.wd.navigation.wdp.IPrivateNavigationFrameView$IContextNode.currentUmePropertiesElement(IPrivateNavigationFrameView.java:161)
at com.sap.security.core.wd.navigation.NavigationFrameView.onActionSmallSize(NavigationFrameView.java:159)
at com.sap.security.core.wd.navigation.NavigationFrameView.wdDoInit(NavigationFrameView.java:97)
at com.sap.security.core.wd.navigation.wdp.InternalNavigationFrameView.wdDoInit(InternalNavigationFrameView.java:161)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:398)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:690)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:536)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:705)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:560)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:690)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:536)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:705)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:560)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:311)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:204)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:347)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:668)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:268)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:725)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:227)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:739)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:208)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1240)
at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:340)
at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:538)
at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:177)
at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:345)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:668)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:268)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:705)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:659)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:227)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: javax.management.InstanceNotFoundException: com.sap.default:name=IJmxServer,j2eeType=UmeJmxServer,SAP_J2EECluster=KMD not in repository
at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:940)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:813)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
at com.sap.security.core.jmx._gen.IJmxServer$Impl.getUmeProperties(IJmxServer.java:1172)
... 84 moreHey,
Try this steps
C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
1. Click on Secure store
2. Right you will find :
admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
Restart the server and try login visual admin -
Configuration Issue in User Mapping ..
Hi,
Pls help resolve this issue..
When i go to <b>" UserMapping "</b> option using the <b>"Personalize "</b> link , i get the following error msg..
"There is a configuration issue which leads to problem when accessing user mapping data for the selected backend system"
Also , if i go thru "User Administration -> User Mapping "
then it says,
--"There is a configuration issue which leads to problem when accessing user mapping data for the selected backend system .
Usually reason is user mapping being configured for Strong encryption, but necessary additional files might be missing.Check Security log file for information "--
I am not able to solve this problem..Pls help
Thanks in advanceHi Venkat,
<b>Here the quick and dirty solution</b>:
In your portal go to 'System Administration' -> 'System Configuration' -> 'UM Configuration' -> 'Direct Editing'.
There locate the parameter 'ume.usermapping.unsecure', set it to 'TRUE' and restart your server.
I would rather recommend to install the unlimited strength jurisdiction policy files.
For more info on this, check this thread:
JCE Jurisdiction does not allow Portal to start
Hope this helps,
Robert -
Not able to do user Mapping with the backend System
Hello all,
I am trying to Map a user to a windows based KM System but getting an error like
"There is a configuration issue which leads to problems when accessing user mapping data for the selected backend system 'KM_Test_System'. Usually, the reason is user mapping being configured for strong encryption, but the necessary additional files being missing. Check the security log file for further information and hints on how to solve the problem."
Can somebody tell me what could be the possible reason for this and how to handle this. I dont have access to the Portal server right now , so not able to see the security log.
Thanks to all,
Regards,
Sarabjeet Singh.Hi Sarbjeet,
I believe this links will help you understand and solve your problem:
user mapping is not saved
and
http://help.sap.com/saphelp_nw04/helpdata/en/04/d246215f1d4f588d1d9c49391acb01/frameset.htm
Hope this helps,
Robert -
Hi All,
i am doing user mapping in personalization window,
if i am enter my user id and password after that if i am click on save button, the logon data is not saved, so pls solve my problem.
Regards,
Jagadish Babu Kanikanti.Hi ,
I am configuring a production Server with SP14.
When i am in user mapping section, i find the error msg as below:
<b>There is a configuration issue which leads to problems when accessing user mapping data for the selected backend system 'ESS'. Usually, the reason is user mapping being configured for strong encryption, but the necessary additional files being missing. Check the security log file for further information and hints on how to solve the problem.</b>
I am not able to enter any user id / pwd ; The fields are greyed out.
I did solve the same in the development server using :
<b>Goto System administration-system Configuration-UM Configuration-Direct Editing.
In that make the ume.usermapping.unsecure as TRUE.</b>
But on seeing your reply stating this is not suitable for Production server, i am bit confused.
Can you pls help with me an alternate solution..
Thanks in advance,
venkat. -
How can i use exisitng user data(Id, password) for user mapping
Hi All,
For User mapping , we can import user mapping data for many users from user administration. and for each user
we can maintain mapping data in the standard format.
eg:
[User]
uid=user2
$usermapping$:BCE:user=ext_user2
$usermapping$:BCE:mappedpassword=password
i am clear till this point.
this all works if we know the userid and passowrd on the system 'BCE'.the passwords on the system 'BCE', are encrypted . so there is no chance for me to know the passwords.
so how can i use the existed userid/passowrd on the system 'BCE' for the mapped user and mapped password on the portal while doing usermapping.
Thanks in Advance,
LakshmiHi,
I think this should work.
1. Setup SSO with SAP logon tickets first. How to do this is described many places, e.g. http://help.sap.com/saphelp_nw04/helpdata/en/d3/41c8ecb31d11d5993800508b6b8b11/content.htm
This SSO will not work at first, because the username is different in the back-end system. So what you need to do is to get the back-end username into the ticket (don't need a password because that is done by the SAP logon ticket)
2. Create a portal component which uses the usermanagement API to create a usermapping which only consists of the username and a blank password. You can do this manually I think if you have no reference system defined.
IUserMappingService umap =(IUserMappingService)PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
//this is the currently logged in user. You might another user
IUserContext user = request.getUser();
//Get the existing data (think it can be null)
IUserMappingData userMapping=umap.getMappingData(systemAlias, user);
HashMap map = new HashMap();
map.put(IUserMappingService.UMAP_KEY_USER, backEndUserName);
//add blank password map.put(IUserMappingService.UMAP_KEY_PASSWORD, "");
//store the values userMapping.storeLogonData(map);
Voila, this should allow you to do SSO using SAP logon tickets, but with another name that you use against the portal. I am uncertain if this will work if you have multiple usermappings in the sap logon ticket
PS since the sap logon ticket is issued at logon time, you need to relogon to get the changes done by the code
Regards
Dagfinn
Maybe you are looking for
-
How do I get Photoshop to retain desktop preferences with a Retina display?
I use PS Creative Cloud mostly in Windows and on a Macbook with a Retina 13.3 screen. When I first open an image from bridge/raw converter in my Macbook Retina the image is displayed in the lower right part of the screen. To get to a usable desktop I
-
on my IMac the internal speakers have ceased working - in the sound preferences area only digital out sound is there no internal speakers to choose so unless I connect external speakers I have no sound
-
Can i use my new I pad with the Canon MX870 printer?
Can I use a I PAD 2 with me Canon MX870 Printer?
-
Signing digitally changes fonts in document when saved
I have just been sent a couple of document to sign - something I have done many times in the past few weeks. When I save these documents after signing them - much of the text in the documents changes to something difficult to read (I suspect it may
-
0x8002006E error while copy from time machine files
what does this error mean? got it by Rclick some folders in Time Machine disk that I hoped to copy to a CD I read you are not to manipulate timemachine files, but the apple genius told me it's OK to burn