IBM Support

Launch a page in TIP without providing login credentials

Question & Answer


Question

How can I open a page in Tivoli Integrated portal without login credentials?

Answer

Assume there is an html page "sample.html" you want to launch in TIP. If you are already logged into TIP you can open it as below. Before you open this page the page should exist in "<TIPHOME>\profiles\TIPProfile\systemApps\isclite.ear\Webtop.war" directory (Replace <TIPHOME> with actual path name based on your installation) .

Please replace change the port # in below URL (if needed) depending on your implementation.

https://localhost:16316/ibm/console/webtop/sample.htm

If you want to open "sample.html" page without logging into TIP then we need to create an iFrame (Inline Frame) portlet and then pass the URL of above page to the iFrame. We are assuming that sample.html page is already created in "<TIPHOME>\profiles\TIPProfile\systemApps\isclite.ear\Webtop.war" directory.

1. Create an iFrame portlet.

    a). Go to Page Management.
    b). Click on the New Page and select iFrame.
    c). Save the page (for example: sampleiFrame)
    d). Open the sampleiFrame porltet and click on the Edit options button (down arrow) on the top right hand side of the portlet and then select Personalize.
    e). In the URL field type in the URL name you want to open and save the changes. For example;

    https://localhost:16316/ibm/console/webtop/sample.htm

2. To access iFrame porltet without providing credentials we can use the xLaunch mechanism provided by TIP. To use xLaunch we need to pass encrypted user Id and password and the page id in the URL.
    a). Login to the server from the command line and execute the following command. In the following tipadmin and password is the Id and password which will be used to login to TIP while launching the page.
    For Windows :
    java -cp "C:\Workarea\runtime\WebGUI73\systemApps\isclite.ear\xlaunchapi.jar" com.ibm.isc.api.xlaunch.LaunchPropertiesHelper$Encode com.ibm.isc.xlaunch.username tipadmin com.ibm.isc.xlaunch.password password
    For Unix: We need to escape the dollar for linux machines.
    java -cp /export/home/netcool/webgui/profiles/TIPProfile/installedApps/TIPCell/isc.ear/xlaunchapi.jar
    com.ibm.isc.api.xlaunch.LaunchPropertiesHelper\$Encode com.ibm.isc.xlaunch.username tipadmin
    com.ibm.isc.xlaunch.password password
    Above command will generate an encoded string with username and password like below:

    L2NvbS5pYm0uaXNjLnhsYXVuY2gudXNlcm5hbWUvd2ViYWRtaW4vY29tLmlibS5pc2MueGxhdW5jaC5wYXNzd29yZC9uZXRjb29s
    b). Now we need to get page Id. In TIP console click on Settings->Page Management. Click on sampleiFrame we created above to view it. The "Page unique name" contains the page Id.
3. Now we can access the iFrame page by using the encoded string and page id like this:

https://<hostname>:16316/ibm/action/launch/<page id>/<encoded string>

For example :
https://<hostname>:16316/ibm/action/launch/com.ibm.isclite.admin.PortletPicker.navigationElement.pagelayoutA.modified.1305613146812/L2NvbS5pYm0uaXNjLnhsYXVuY2gudXNlcm5hbWUvd2ViYWRtaW4vY29tLmlibS5pc2MueGxhdW5jaC5wYXNzd29yZC9uZXRjb29s

4. To test this logout from TIP and then launch the sampleIFrame as above. The page should open without entering user Id and password in TIP console.

Note: After launching the page, you will be fully logged in to TIP as you would normally do after entering the user id/password on login page in TIP.

[{"Product":{"code":"SSRLR8","label":"Tivoli Components"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Tivoli Integrated Portal (TIP)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"2.1;2.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
21 June 2018

UID

swg21502893