blob: 8aa63c959faa407e2a5ffde4cbc18c57bef2df22 [file]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Rev: 590502 $ $Date: 2007-10-30 18:59:24 -0400 (Tue, 30 Oct 2007) $ -->
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.2">
<context-root>/monitoring</context-root>
<!-- define a reference name to the db pool-->
<!--<resource-ref>-->
<!--<ref-name>MonitoringClientDS</ref-name>-->
<!--<pattern>-->
<!--<groupId>org.apache.geronimo.plugins</groupId>-->
<!--<artifactId>mconsole-ds</artifactId>-->
<!--<name>MonitoringClientDS</name>-->
<!--</pattern>-->
<!--</resource-ref>-->
<!-- i18n support -->
<gbean name="ConsoleResourceGBean" class="org.apache.geronimo.console.i18n.ConsoleResourceGBean">
<reference name="ConsoleResourceRegistry">
<name>ConsoleResourceRegistry</name>
</reference>
</gbean>
<gbean name="MonitoringPortlet" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
<attribute name="pageTitle">1-8/Server/Monitoring</attribute>
<attribute name="portletContext">/monitoring</attribute>
<attribute name="portletList">[monitoring]</attribute>
<attribute name="icon">/images/ico_monitor_16x16.gif</attribute>
<attribute name="mode">basic</attribute>
<reference name="PortalContainerServices">
<name>PlutoPortalServices</name>
</reference>
</gbean>
<security-realm-name>geronimo-admin</security-realm-name>
<security xmlns="http://geronimo.apache.org/xml/ns/security-1.2">
<role-mappings>
<role role-name="admin">
<principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="admin" />
</role>
<role role-name="monitor">
<principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="monitor" />
</role>
</role-mappings>
</security>
</web-app>