<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" metadata-complete="true" version="2.5">
    <display-name>system-database</display-name>
    <filter>
        <filter-name>dwr-filter</filter-name>
        <filter-class>org.apache.geronimo.console.servlet.ForwardDispatchFilter</filter-class>
        <async-supported>false</async-supported>
    </filter>
    <filter-mapping>
        <filter-name>dwr-filter</filter-name>
        <servlet-name>dwr-invoker</servlet-name>
        <dispatcher>FORWARD</dispatcher>
    </filter-mapping>
    <servlet>
        <servlet-name>dwr-invoker</servlet-name>
        <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
        <init-param>
            <param-name>classes</param-name>
            <param-value>org.apache.geronimo.console.ajax.ProgressMonitor, org.apache.geronimo.console.ajax.ProgressInfo</param-value>
        </init-param>
        <init-param>
            <param-name>activeReverseAjaxEnabled</param-name>
            <param-value>true</param-value>
        </init-param>
    </servlet>
    <servlet>
        <display-name>Pluto Wrapper for Internal DB Portlet</display-name>
        <servlet-name>InternalDB</servlet-name>
        <servlet-class>org.apache.pluto.container.driver.PortletServlet</servlet-class>
        <init-param>
            <param-name>portlet-name</param-name>
            <param-value>InternalDB</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
        <display-name>Pluto Wrapper for DB Viewer Portlet</display-name>
        <servlet-name>DBViewer</servlet-name>
        <servlet-class>org.apache.pluto.container.driver.PortletServlet</servlet-class>
        <init-param>
            <param-name>portlet-name</param-name>
            <param-value>DBViewer</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
        <display-name>Pluto Wrapper for Run SQL Portlet</display-name>
        <servlet-name>RunSQL</servlet-name>
        <servlet-class>org.apache.pluto.container.driver.PortletServlet</servlet-class>
        <init-param>
            <param-name>portlet-name</param-name>
            <param-value>RunSQL</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
        <display-name>Pluto Wrapper for DataSource Run SQL Portlet</display-name>
        <servlet-name>RunSQLDS</servlet-name>
        <servlet-class>org.apache.pluto.container.driver.PortletServlet</servlet-class>
        <init-param>
            <param-name>portlet-name</param-name>
            <param-value>RunSQLDS</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
        <display-name>Pluto Wrapper for Derby Log Viewer Portlet</display-name>
        <servlet-name>DerbyLogViewer</servlet-name>
        <servlet-class>org.apache.pluto.container.driver.PortletServlet</servlet-class>
        <init-param>
            <param-name>portlet-name</param-name>
            <param-value>DerbyLogViewer</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
        <display-name>Pluto Wrapper for Database Wizard Portlet</display-name>
        <servlet-name>DBWizard</servlet-name>
        <servlet-class>org.apache.pluto.container.driver.PortletServlet</servlet-class>
        <init-param>
            <param-name>portlet-name</param-name>
            <param-value>DBWizard</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.derbylogmanager.view_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.derbylogmanager.view_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.derbylogmanager.help_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.derbylogmanager.help_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.showPlan_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.showPlan_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.selectDownload_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.selectDownload_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.importUpload_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.importUpload_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.selectDatabase_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.selectDatabase_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.importStatus_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.importStatus_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.downloadStatus_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.downloadStatus_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.edit_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.edit_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.testConnection_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.testConnection_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.list_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.list_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.basicParams_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.basicParams_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.usage_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.usage_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.confirmURL_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.dbwizard.confirmURL_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.ajax.progressbar_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.ajax.progressbar_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.dbViewerHelp_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.dbViewerHelp_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.runSQLHelp_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.runSQLHelp_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.listTablesMaximized_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.listTablesMaximized_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.internalDBNormal_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.internalDBNormal_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.listDatabasesMaximized_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.listDatabasesMaximized_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.viewTableContents_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.viewTableContents_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.runSQLNormal_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.runSQLNormal_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.internalDBHelp_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.internalDBHelp_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.listDatabases_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.listDatabases_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.listTables_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.listTables_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.runSQLMaximized_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.runSQLMaximized_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.viewTableContentsMaximized_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.viewTableContentsMaximized_jsp</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.internalDBMaximized_jsp</servlet-name>
        <servlet-class>jsp.WEB_002dINF.view.internaldb.internalDBMaximized_jsp</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>dwr-invoker</servlet-name>
        <url-pattern>/dwr3/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>InternalDB</servlet-name>
        <url-pattern>/PlutoInvoker/InternalDB/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>DBViewer</servlet-name>
        <url-pattern>/PlutoInvoker/DBViewer/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>RunSQL</servlet-name>
        <url-pattern>/PlutoInvoker/RunSQL/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>RunSQLDS</servlet-name>
        <url-pattern>/PlutoInvoker/RunSQLDS/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>DerbyLogViewer</servlet-name>
        <url-pattern>/PlutoInvoker/DerbyLogViewer/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>DBWizard</servlet-name>
        <url-pattern>/PlutoInvoker/DBWizard/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.derbylogmanager.view_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/derbylogmanager/view.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.derbylogmanager.help_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/derbylogmanager/help.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.showPlan_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/showPlan.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.selectDownload_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/selectDownload.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.importUpload_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/importUpload.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.selectDatabase_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/selectDatabase.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.importStatus_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/importStatus.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.downloadStatus_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/downloadStatus.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.edit_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/edit.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.testConnection_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/testConnection.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.list_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/list.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.basicParams_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/basicParams.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.usage_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/usage.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.dbwizard.confirmURL_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/dbwizard/confirmURL.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.ajax.progressbar_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/ajax/progressbar.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.dbViewerHelp_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/dbViewerHelp.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.runSQLHelp_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/runSQLHelp.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.listTablesMaximized_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/listTablesMaximized.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.internalDBNormal_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/internalDBNormal.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.listDatabasesMaximized_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/listDatabasesMaximized.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.viewTableContents_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/viewTableContents.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.runSQLNormal_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/runSQLNormal.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.internalDBHelp_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/internalDBHelp.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.listDatabases_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/listDatabases.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.listTables_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/listTables.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.runSQLMaximized_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/runSQLMaximized.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.viewTableContentsMaximized_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/viewTableContentsMaximized.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp.WEB_002dINF.view.internaldb.internalDBMaximized_jsp</servlet-name>
        <url-pattern>/WEB-INF/view/internaldb/internalDBMaximized.jsp</url-pattern>
    </servlet-mapping>
    <security-constraint>
        <web-resource-collection>
            <web-resource-name>system-database</web-resource-name>
            <url-pattern>/PlutoInvoker/*</url-pattern>
            <url-pattern>/dwr3/*</url-pattern>
            <http-method>GET</http-method>
            <http-method>POST</http-method>
            <http-method>PUT</http-method>
        </web-resource-collection>
        <auth-constraint>
            <role-name>admin</role-name>
        </auth-constraint>
    </security-constraint>
    <login-config>
        <auth-method>BASIC</auth-method>
        <realm-name>geronimo-admin</realm-name>
    </login-config>
    <security-role>
        <role-name>admin</role-name>
    </security-role>
</web-app>
