Topics: |
This section describes how to customize the embedded demo application (ABC Company).
The embedded BI demo application makes trusted authentication requests to WebFOCUS. In a typical use case scenario, the application would authenticate users to some system that is external to WebFOCUS. However, to simplify the demonstration, this embedded application only checks to see if the user name entered on the Sign-on page is found in a list defined on line 5 in embeddemo\login.jsp:
Set<String> users = new HashSet<String>(Arrays.asList(new String[] {"rsbas","rsadv"} ));
You may edit the list to include any ID that exists in your WebFOCUS repository. Changes take effect immediately upon reloading the application and do not require an application server restart.
Important: Only include WebFOCUS user IDs in this file that have carefully defined access to content and features. This is because anyone with access to the embedded BI demo application will be able to obtain a WebFOCUS session for these accounts without knowledge of the account's password.
The PORTAL 1 and PORTAL 2 tabs in the embedded BI demo application load specially configured BI portals into an iframe below the tabs. You can reconfigure these two tabs to load different BI portals.
Simply modify the path and corresponding URL values on lines 78-79 in the embeddemo\index.jsp file. For example:
{ id: 'ed384083-abba-4416-8bd0-83a8c9479e75', path: 'IBFS:/BIP/Portals/Embedded_Portal_1', url: '/bip/portal/Embedded_Portal_1', loaded: false },{ id: '0b1010ea-dcbf-419d-a7e1-ef06300c6fe6', path: 'IBFS:/BIP/Portals/Embedded_Portal_2', url: '/bip/portal/Embedded_Portal_2', loaded: false }
This does not require an application server restart, simply refresh/reload the demo application in your browser.
Remember to set the Broadcast height for embedding property, if your portal uses a responsive layout, disables the portal banner, configures any special styling options as necessary, and considers whether to include the Portal navigation bar, as explained in Additional Considerations for Embedded Business Intelligence.
WebFOCUS | |
Feedback |