Focal Point
dashboard login redirect question

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

September 07, 2006, 03:33 PM
.eric
dashboard login redirect question
I'm trying to figure out a way to change the login page of our dashboard login page to integrate both our production and development login pages into one. I basically need to figure out a way with say the use of a drop down (containing either development or production as choices) to redirect the user to the appropriate environment without having the hassle of going to two different login pages.

We basically dont want users creating reports in dashboard with production data until they design them properly so I'm setting them all up in both environments.

Any help/suggestions would be great, thanks!

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
September 07, 2006, 03:35 PM
.eric
My other question is how to create two different dashboard login pages on one server. In addition to the page I mentioned in my post above we wanted to keep our original dashboard login pages for run users.

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
September 07, 2006, 05:14 PM
newtofocus
The only way I could thing of is based onthe choice you could redirect to either
http://prod/ibi_apps/bid
or
http://test/ibi_apps/bid


WF7.1.4 Prod/Test, MRE, self serve, DM
September 07, 2006, 05:46 PM
.eric
Yeah that I know, I wanted the login page to redirect them to the appropriate server after they are logged in if possible.

Is it possible to create a complete seperate page from dashboard which would send the user id / password variables into the dashboard login pages and have it auto-submit or something?

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
September 07, 2006, 06:22 PM
Francis Mariani
I have done something like what you require. Create a copy of WORP_login.jsp in the same webapps folder and then modify the copy to include a drop down box that when selected, javascript changes the form ACTION to the select box value which contains the server that you want to logon to - ie. instead of the default form ACTION "/ibi_apps/Controller", it should change it to "http://servername/ibi_apps/Controller/".


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
September 08, 2006, 01:23 AM
dhagen
Just a word of caution here. Francis' suggestion will work MOST of the time. However, if you have clustered WebFOCUS servers, or some other non-standard installation, then this may not work. If you notice very sporatic invalid logins or being re-prompted for credentials, then this will be the culprit.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
September 08, 2006, 09:18 AM
.eric
Thats what I was looking for! We only have a server for production and another for development. Thanks guys.

Do you guys know the answer to my other question: which is two use two different versions of the worp_login.jsp page?

Basically a http://server/ibi_apps/bid-login2 or something. If not I will just end up using the new login page (with the dropdown) on my development machine.

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
September 11, 2006, 05:37 PM
Francis Mariani
.eric, you can have multiple login pages. I suggested making a copy - that's a second login page. Perhaps I misunderstood your question.


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