| <?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$ $Date$ --> |
| |
| <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.2"> |
| |
| <!-- This is where the files are accessed from. (aka - portletContext) --> |
| <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">3-8/Applications/Deploy New</attribute> |
| <attribute name="portletContext">/plugin</attribute> |
| <attribute name="portletList">[Deployment]</attribute> |
| <attribute name="icon">/images/ico_deploy_16x16.gif</attribute> |
| <reference name="PortalContainerServices"> |
| <name>PlutoPortalServices</name> |
| </reference> |
| </gbean> |
| <gbean name="PluginManagement" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean"> |
| <attribute name="pageTitle">3-9/Applications/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> |