Hi Roman,

I had the same issue after upgrading to GWT 1.6 and after a lot of
trial and error I found a solution.
You must add a jetty-web.xml to your configuration. Put it in the
beside your web.xml file.

My confifiguration looks like the following:

<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
"http://jetty.mortbay.org/configure.dtd";>
<Configure class="org.mortbay.jetty.webapp.WebAppContext">

        <Get name="SecurityHandler">
                <Call name="setUserRealm">
                        <Arg>
                                        <New 
class="org.mortbay.jetty.security.JDBCUserRealm">
                                                <Set name="name">your realm 
name</Set>
                                                <Set 
name="config">jdbcRealm.properties</Set>
                                        </New>
                        </Arg>
                </Call>
        </Get>
</Configure>

In the referenced jdbcRealm.properties the realm is configured (db
access, user and role tables). You should find out how to configure
this in the jetty documentation.

This is the cleanest solution I found and it works for me without
problems.

Regards,
Christoph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to