Create a jetty-web.xml file under your war/WEB-INF folder 

Mine is defined as follows 

<?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">
  <Set name="userRealm">
      <New class="org.mortbay.jetty.security.HashUserRealm">
            <Set name="name">default</Set>
            <Set name="config">c:\ocs\jettyusers.properties</Set>
      </New>
    </Set>
</Get> 
</Configure> 

my jettyusers.properties file contains the username, password and roles for 
each user e.g.

pstockley: test, nirvana_tester

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/hWgPbLWhDPMJ.
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