How to disable authorization in hosted mode.
Using: SmartGWT/OS X 10.6/Tomcat/Mozilla
I have configured authorization for my web app, and set roles/login config and security-constraint in web.xml
Corresponding changes are done in server-conf/tomcat-users.xml
Now, on production it's asking for username/pwd and is working fine, but same web.xml is throwing error, when run in hosted mode using Jetty
HTTP ERROR: 500
Is there any way to by-pass authorization while running in hosted mode.
I managed to enable authentication in jetty using attached jetty-web.xml file in my webapp/WEB-INF/jetty-web.xml
Also, /etc/realm.properties was added with username/pwd.
Hope this helps !
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Regular expression validation in DEV and Hosted Mode||BharathiRajendran||Smart GWT Technical Q&A||1||22nd Jul 2010 02:51|
|SmartGWT 2.1/2.2, GWT 2.0.3 hosted mode exception on linux||evelyne24||Technical Q&A||0||24th Jun 2010 04:05|
|SmartGWT 2.1/2.2, GWT 2.0.3 hosted mode exception on linux||evelyne24||Smart GWT Technical Q&A||1||24th Jun 2010 04:04|
|fetchData on grid vs form (difference in hosted vs compiled mode)||levi||Smart GWT Technical Q&A||1||10th Sep 2009 12:55|
|Blank Page in Hosted Mode but Web Mode works fine||WujekLucyfer||Smart GWT Technical Q&A||3||16th Jul 2009 11:46|