Skip to Content
0
Former Member
Dec 08, 2011 at 07:42 AM

How to get trusted connection using MDM Java API - MDM 7.1

125 Views

Hi All,

I have developed a webdynpro application which I am launching on UWL task. I am able to launch the application and read the data from the uwl task and do activities.

I fetch the user and password from the MDM reference system, we created in Portal with alias.

Below is the code how I create a usercontext.

Issue :

Users will not know the mdm password. So it is not possible for them to set in the system individually.

usrCtxt = new UserSessionContext(mdmServer, mdmRepository, mappedUserId);

SessionManager.getInstance().createSession(usrCtxt,SessionTypes.USER_SESSION_TYPE, mappedUserPwd);

Is there any other way I can create a usercontext without password?

I came across trusted connection. It is set on our Portal and MDM. It is working fine for the wdconfig projects.

But how do I create trusted connection using APIs in my webdynpro project? Could you please help me with codes?

Regards,

Durai