[SOLVED-KIND OF]Custom "failed logon" pages for WF 7.6.x
In previous version of WF (7.1.x) we had customized the MRE failed logon page to direct users to our help desk. This was in the mrbadlog.htm file in WebFOCUS71\ibi_html\workbnch directory. We are now moving to WF 7.6.9, and it appears that these files are no longer there. We had also customized a few of the other files in this same directory - only a few of them are still there.
Has anyone done similar customizations in 7.6.x that can tell me where I need to go to do our customizations now? I know Susannah had done a bit with customizing logon pages. any ideas?This message has been edited. Last edited by: Darin Lee,
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
June 13, 2009, 05:21 AM
Clinton Side-Kick
I have had a similar challenge with the WF_SIGNOFF XML result page when logging a user off from WebFOCUS using WFServlet vs. CGI... To date I have not been able to customize this behaviour and divisions position is that the XML result is the expected behaviour... ditto... The customer still wants a custom logoff confirmation page... There are a couple of cases logged, mostly with a vague suggestion of modifying the applaunchFunc.js file, which is by the way not supported ;-) Anyone with suggestions out in the field will also be appreciated... forgive me, I probably should have created a new topic as this is not related to a "failed logon"...This message has been edited. Last edited by: Clinton Side-Kick,
-------------------------------------------------------------------------------- prod: WF/AS 8.2.05; OmniGen; In FOCUS since 1991
June 13, 2009, 11:04 AM
dlogan
Darin, A custom failed logon page can be put anywhere and you can redirect to that logon page with either of the following techniques:
1) By adding the following to: WF Admin Console -> Configuration -> Custom Settings: SIGNON_INCORRECT=http://www.google.com
The MR Signon page is controlled by the following: \ibi\WebFOCUSxx\webapps\webfocusxx\login\ibi_login.jsp
Clinton Side-Kick, What you want to do is very similar. Instead of using the parameter "SIGNON_INCORRECT", use the parameter "SIGNOFF_CORRECT" to control what page is loaded on logoff.
In both cases you will notice that the page that is redirected is the center frame. If you want to redirect the whole page, simply have the page redirected to on the center frame contain JavaScript to redirect the whole page.
Thanks for the response. I was aware that I could redirect to a completely separate page of my own making, and that may be the route I have to take. What I was hoping for was to just be able to ad a couple of lines of instruction to the default "failed logon" page like I have done in the 7.1.6 version but I cannot find the mrbadlog.htm file in the 7.6.9 installation - it appears that those may have all been move into jsp's. If so, which files need to be changed?
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
June 15, 2009, 11:29 AM
dlogan
The file you are looking for is: \ibi\WebFOCUS76\webapps\webfocus76\login\mr\mr_broadcast.jsp
That's what I could surmise, but looking at that file, I am still unable to determine how it is getting to a failed logon page or where the contents of that page come from.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
June 15, 2009, 01:30 PM
dlogan
That page results in the failed logon page, as well as other error messages that can be displayed.
Yeah, it results in the failed logon page, but it uses bean components and whatever else that I am not able to access. There's nothing you can edit there that changes anything. Instead of a short "invalid credentials message," I wanted to have a little bullet list of things for users to check (since we use a dual login and LDAP, a failed login can come from a few different problems) and a reference to our help desk if login problems can't be resolved.
I was hoping not to have to create an entirely separate page, but I was unable to determine how the failed logon page is generated so I could modify it, and in any case, the "Return to login link" returns to the wrong login page. So I copied the mrbadlog.htm page from our 7.1.6 installation and used the SIGNON_INCORRECT variable in custom settings to redirect failed logins to this page. Not the solution I was hoping for, but it works fine nonetheless.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
July 11, 2011, 03:50 PM
Francis Mariani
quote:
Just to be sure to point you back to the relevant documentation.
Here are the following techsupport articles about these parameters:
I spent an hour trying to make SIGNOFF_INCORRECT work, when I realized it should be SIGNON_INCORRECT! And that should be SIGNOFF_CORRECT, not SIGNON_CORRECT!
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
July 13, 2011, 08:27 AM
dlogan
eeep, sorry Francis. Thanks for pointing that out.
One of the SPSes was wrong (removed it from the list of links), the rest were apparently my typos .
Apparently it was not a good day when I posted those.