Go Back   SmartClient Forums > Smart GWT Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 26th Apr 2011, 11:50
Shoonya Shoonya is offline
Registered Developer
 
Join Date: Apr 2011
Posts: 6
Default How to disable authorization in hosted mode.

Hi,

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
No realm

Is there any way to by-pass authorization while running in hosted mode.

-Shoonya
Reply With Quote
  #2  
Old 7th Jun 2011, 06:01
jmichelgarcia jmichelgarcia is offline
Registered Developer
 
Join Date: May 2011
Posts: 198
Default

Hey Shoonya, did you find a solution to this problem ?

thank you
Reply With Quote
  #3  
Old 7th Jun 2011, 06:09
Shoonya Shoonya is offline
Registered Developer
 
Join Date: Apr 2011
Posts: 6
Default

Yes,

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 !

Cheers
Attached Files
File Type: xml jetty-web.xml (541 Bytes, 22 views)
Reply With Quote
  #4  
Old 7th Jun 2011, 09:28
jmichelgarcia jmichelgarcia is offline
Registered Developer
 
Join Date: May 2011
Posts: 198
Default

helped a lot, thank you
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
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 03:51
SmartGWT 2.1/2.2, GWT 2.0.3 hosted mode exception on linux evelyne24 Technical Q&A 0 24th Jun 2010 05: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 05:04
fetchData on grid vs form (difference in hosted vs compiled mode) levi Smart GWT Technical Q&A 1 10th Sep 2009 13:55
Blank Page in Hosted Mode but Web Mode works fine WujekLucyfer Smart GWT Technical Q&A 3 16th Jul 2009 12:46

© 2010,2011 Isomorphic Software. All Rights Reserved