Pinned topic MetaStage Browser
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
I need to bypass the login page and allow anyone access to the browser without having to choose an ODBC connection or supplying a username/password. Has anyone done this? Is it possible? What is involved in setting this up?
Updated on 2005-05-18T14:01:33Z at 2005-05-18T14:01:33Z by SystemAdmin
SystemAdmin 110000D4XK510 Posts
Re: MetaStage Browser2005-05-18T14:01:33ZThis is the accepted answer. This is the accepted answer.Hi Aaron,
Long time no speak... hope all is well.
If what is being asked is can one display the browser without an ODBC connection/authentication, the answer is no.
If what is being asked is whether one can always use the same ODBC connection and the same username and password for every invocation of the browser, that should be possible, but it's not a one-line fix, because it basically involves hacking the existing login mechanism. You would need to:
(a) modify the "login action" class (com/ascential/metastage/browser/LoginAction.java) to open a connection using a "default" ODBC DSN, username, and password, and create a user info object and store it in a certain web session variable
(b) modify the Struts action config file so that the "welcome" action invokes the modified login action, and then forwards to the current "main.jsp" page, instead of going through the login page as it currently does.
This, this is just an outline of what we think you would need to do. It is not something we would do to the standard product.