<?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: 997204 $ $Date: 2010-09-15 14:56:15 +0800 (Wed, 15 Sep 2010) $-->
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.2">
  <!--This is where the files are accessed from. (aka - portletContext)-->
  <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
    <dep:moduleId>
      <dep:groupId>org.apache.geronimo.plugins</dep:groupId>
      <dep:artifactId>plugin-console-tomcat</dep:artifactId>
      <dep:version>3.0.0</dep:version>
      <dep:type>car</dep:type>
    </dep:moduleId>
    <dep:dependencies>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.plugins</dep:groupId>
        <dep:artifactId>console-tomcat</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.configs</dep:groupId>
        <dep:artifactId>j2ee-deployer</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.framework</dep:groupId>
        <dep:artifactId>plugin</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
    </dep:dependencies>
    <dep:hidden-classes/>
    <dep:non-overridable-classes/>
    <dep:private-classes/>
  </dep:environment>
  <context-root>/plugin</context-root>
  <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-mappings>
  </security>
  <!--i18n support-->
  <gbean name="ConsoleResourceGBean" class="org.apache.geronimo.console.i18n.ConsoleResourceGBean">
    <reference name="ConsoleResourceRegistry">
      <name>ConsoleResourceRegistry</name>
    </reference>
  </gbean>
  <!--Start off a ACEGBean, this is the lifecycle for the portlet-->
  <gbean name="Deployment" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
    <attribute name="pageTitle">2-1/Applications/Deployer</attribute>
    <attribute name="portletContext">/plugin</attribute>
    <attribute name="portletList">[Deployment]</attribute>
    <attribute name="icon">/images/ico_deploy_16x16.gif</attribute>
    <attribute name="mode">basic</attribute>
    <reference name="PortalContainerServices">
      <name>PlutoPortalServices</name>
    </reference>
  </gbean>
  <gbean name="PluginManagement" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
    <attribute name="pageTitle">3-8/Resources/Plugins</attribute>
    <attribute name="portletContext">/plugin</attribute>
    <attribute name="portletList">[ImportExport, CreatePlugin, AssembleServer]</attribute>
    <attribute name="icon">/images/ico_plugin_16x16.gif</attribute>
    <reference name="PortalContainerServices">
      <name>PlutoPortalServices</name>
    </reference>
  </gbean>
  <gbean name="RealmWizard" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
    <attribute name="pageTitle">4-4/Security/Security Realms</attribute>
    <attribute name="portletContext">/plugin</attribute>
    <attribute name="portletList">[RealmWizard]</attribute>
    <attribute name="icon">/images/ico_secrealm_16x16.gif</attribute>
    <reference name="PortalContainerServices">
      <name>PlutoPortalServices</name>
    </reference>
  </gbean>
  <!--Deployment factory for use inside server-->
  <gbean name="DeploymentFactory" class="org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryWithKernel"/>
</web-app>