1_JSchmitt

Is it possible to parse credentials when exporting a portlet?

Discussion created by 1_JSchmitt on Jun 29, 2011
Latest reply on Jul 4, 2011 by 1_ryan.jussel

One of our customers here in the UK is working on integrating a number of portlets into his corporate portal.

 

We have been successful in importing a pre-defined PRD report using deep linking URL as below:

 

http://<umpserver>/qoschart/jsp/standalone.jsp?user=<user>&password=<pass>&def=<def>

 

This option only allows for a report that has already been created to be displayed in a portlet window and so does not have the drag-drop functionality to build new reports

 

The customer wants to integrate the interactive PRD portlet as a whole so that they can use the ad-hoc report design features, which brings me to the Sharing options for portlets.

 

The Configuration>Sharing options on the UMP Portlets claims that the applications can be shared on any website using the provided script source which looks something like this:

 

<script src="http://mspportal.nimsoft.com/html/js/liferay/widget.js" type="text/javascript"></script>
<script type="text/javascript">
Liferay.Widget({ url: 'http://mspportal.nimsoft.com/widget/user/jschmitt/home/-/qoschart_WAR_qoschart_INSTANCE_uW4X'});
</script>

 

The question being, is there anyway to parse authentication credentials to this code in a similar way to the deep-linking option?

Outcomes