spec/web.xml in appengine-tools-0.0.1 vs spec/web.xml in appengine-tools-0.0.2

- old
+ new

@@ -1,24 +1,27 @@ <web-app version='2.5' xmlns='http://java.sun.com/xml/ns/javaee'> <security-constraint> <web-resource-collection> + <url-pattern>/private</url-pattern> <url-pattern>/private/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>*</role-name> </auth-constraint> </security-constraint> <security-constraint> <web-resource-collection> + <url-pattern>/admin2</url-pattern> <url-pattern>/admin2/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>admin</role-name> </auth-constraint> </security-constraint> <security-constraint> <web-resource-collection> + <url-pattern>/secure</url-pattern> <url-pattern>/secure/*</url-pattern> </web-resource-collection> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> @@ -65,17 +68,17 @@ </servlet-mapping> <context-param> <param-name>rackup</param-name> <param-value>rackup</param-value> </context-param> - <servlet> - <servlet-name>org.jruby.rack.RackServlet</servlet-name> - <servlet-class>org.jruby.rack.RackServlet</servlet-class> - </servlet> - <servlet-mapping> - <servlet-name>org.jruby.rack.RackServlet</servlet-name> - <url-pattern>/</url-pattern> - </servlet-mapping> + <filter> + <filter-name>RackFilter</filter-name> + <filter-class>org.jruby.rack.RackFilter</filter-class> + </filter> + <filter-mapping> + <filter-name>RackFilter</filter-name> + <url-pattern>/*</url-pattern> + </filter-mapping> <listener> <listener-class>org.jruby.rack.RackServletContextListener</listener-class> </listener> </web-app> \ No newline at end of file