Focal Point
[SOLVED] WF 7.7.05 - Disable Dashboard URL for decommissioned MRE

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1287072886

November 09, 2017, 01:17 PM
Francis Mariani
[SOLVED] WF 7.7.05 - Disable Dashboard URL for decommissioned MRE
We have decommissioned an MRE environment on a WebFOCUS client server.

I would like to disable the Dashboard Login URL

http://hostname[:port]/ibi_apps/bid-login

Currently the user can navigate to this URL and receive an Invalid Login screen, with these links: Public Views, Login, View Builder Login, Home.

How do I disable the Dashboard Login URL? I also don't want them to see any of the links on the Invalid Login screen.

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 09, 2017, 03:29 PM
Waz
If there isn't a WF way to do it.

You may be able to put an alias in your application server (tomcat) to push the url to another location and page.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 10, 2017, 01:14 PM
FP Mod Chuck
Francis

Do you want any WF URL's to work and just disable this one?


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
November 13, 2017, 08:46 AM
Francis Mariani
I need to have WF URLs that execute fexes on the reporting server to work. I'd like all URLs to MRE and BID to redirect to a single HTML page. I think I can achieve some of this by editing the web.xml file, though I don't know if it must be a jsp file or can it be an html file...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 13, 2017, 10:31 AM
FP Mod Chuck
Francis

The solution I was thinking of will not work then and I don't know the answer about the jsp either.. Sorry!


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
November 14, 2017, 12:50 PM
Francis Mariani
I'm sure this information won't be of help, but I have figured out what I need to do.

There are six files to modify. The modification is simple – delete all lines of JSP and HTML code and replace with a few lines of HTML code that includes a frame containing a simple HTML file that contains suitable text.

This is a list of files that require modification:

B.I. Dashboard Index page

http://localhost:8080/ibi_apps/Controller
redirects to
http://localhost:8080/ibi_apps/worp/jsp/WORP_Index.jsp

File to modify:
C:\ibi\WebFOCUS77\webapps\webfocus\worp\jsp\WORP_Index.jsp

B.I. Dashboard Public Views and Group Views

http://localhost:8080/ibi_apps/worp/jsp/WORP_Views.jsp?action=mpv&
and
http://localhost:8080/ibi_apps/worp/jsp/WORP_Views.jsp?action=gbv&

File to modify:
C:\ibi\WebFOCUS77\webapps\webfocus\worp\jsp\WORP_Views.jsp

B.I. Dashboard Login page and B.I. Dashboard View Builder page

http://localhost:8080/ibi_apps/bid-login?
and
http://localhost:8080/ibi_apps/bid-login?WORP_REQUEST_TYPE=WORP_CUSTOMIZE_VERIFY&

File to modify:
C:\ibi\WebFOCUS77\webapps\webfocus\worp\jsp\WORP_Login.jsp

WebFOCUS Home

http://localhost:8080/ibi_apps/
or
http://localhost:8080/ibi_apps/homepage.jsp
or
http://localhost:8080/ibi_apps/welcome.jsp

Files to modify:
C:\ibi\WebFOCUS77\webapps\webfocus\welcome.jsp
C:\ibi\WebFOCUS77\webapps\webfocus\homepage.jsp

Managed Reporting (Applet) Interface

http://localhost:8080/ibi_apps/login/mr/mr_login.jsp?

File to modify:
C:\ibi\WebFOCUS77\webapps\webfocus\login\mr\mr_login.jsp

The JSP and HTML in each of the above mentioned files was replaced with:

<html>
    <head>
        <title>Managed Reporting</title>
        <!-- 2017-11-14 - MRE Decommisioning - Francis Mariani - HTML added for message -->
    </head>
    <frameset rows="500,*" frameborder="no" style="border:0;" framespacing="0">
        <frame src="/ibi_html/myfolder/my_message.htm" scrolling="yes" marginwidth="0" marginheight="0" framespacing="0" frameborder="no"  noresize>
    </frameset>
</html>


my_message.htm contains a logo and appropriate text.

Additionally, to provide WebFOCUS administrators access to components that are not decommissioned, I created a clone of the WebFOCUS home page:

On my PC:
http://localhost:8080/ibi_apps/homepage_mine.jsp
or
http://localhost:8080/ibi_apps/welcome_mine.jsp

Files to create:
C:\ibi\WebFOCUS77\webapps\webfocus\welcome_mine.jsp
C:\ibi\WebFOCUS77\webapps\webfocus\homepage_mine.jsp

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server