And here's an extract from the web.xml file:
<servlet> | <servlet-name>AppStartupServlet</servlet-name> | <servlet-class>com.app.servlet.StartupServlet</servlet-class> | <load-on-startup>1</load-on-startup> | </servlet> | | | <security-constraint> | <web-resource-collection> | <web-resource-name>My app</web-resource-name> | <url-pattern>/jsp/*</url-pattern> | <url-pattern>*.do</url-pattern> | <url-pattern>*.jsp</url-pattern> | <url-pattern>/servlet/*</url-pattern> | <url-pattern>/servlet/DisplayChart</url-pattern> | <http-method>GET</http-method> | <http-method>POST</http-method> | </web-resource-collection> | <auth-constraint> | <role-name>dev</role-name> | <role-name>admin</role-name> | <role-name>user</role-name> | </auth-constraint> | </security-constraint> | | <login-config> | <auth-method>BASIC</auth-method> | <realm-name>JBoss HTTP Invoker</realm-name> | </login-config> | <security-role> | <role-name>dev</role-name> | </security-role> | <security-role> | <role-name>admin</role-name> | </security-role> | <security-role> | <role-name>tapuser</role-name> | </security-role> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893216#3893216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893216 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user