geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r395243 - in /geronimo/branches/1.1: applications/console-framework/ applications/console-framework/src/java/ applications/console-framework/src/java/org/ applications/console-framework/src/java/org/apache/ applications/console-framework/sr...
Date Wed, 19 Apr 2006 13:39:52 GMT
Author: ammulder
Date: Wed Apr 19 06:39:27 2006
New Revision: 395243

URL: http://svn.apache.org/viewcvs?rev=395243&view=rev
Log:
Merge GERONIMO-973 (security on /console-standard)
Set some missing SVN ignores

Added:
    geronimo/branches/1.1/applications/console-framework/src/java/
    geronimo/branches/1.1/applications/console-framework/src/java/org/
    geronimo/branches/1.1/applications/console-framework/src/java/org/apache/
    geronimo/branches/1.1/applications/console-framework/src/java/org/apache/geronimo/
    geronimo/branches/1.1/applications/console-framework/src/java/org/apache/geronimo/console/
    geronimo/branches/1.1/applications/console-framework/src/java/org/apache/geronimo/console/servlet/
    geronimo/branches/1.1/applications/console-framework/src/java/org/apache/geronimo/console/servlet/ContextForwardServlet.java
  (with props)
    geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/servlet/
    geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/servlet/ForwardDispatchFilter.java
  (with props)
Modified:
    geronimo/branches/1.1/applications/console-framework/project.xml
    geronimo/branches/1.1/applications/console-framework/src/webapp/WEB-INF/web.xml
    geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/car/index.jsp
    geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
    geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/web.xml
    geronimo/branches/1.1/assemblies/minimal-tomcat-server/   (props changed)
    geronimo/branches/1.1/configs/console-jetty/src/plan/plan.xml
    geronimo/branches/1.1/configs/console-tomcat/src/plan/plan.xml
    geronimo/branches/1.1/configs/sharedlib/   (props changed)
    geronimo/branches/1.1/configs/unavailable-client-deployer/   (props changed)
    geronimo/branches/1.1/configs/unavailable-ejb-deployer/   (props changed)
    geronimo/branches/1.1/configs/unavailable-webservices-deployer/   (props changed)

Modified: geronimo/branches/1.1/applications/console-framework/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/applications/console-framework/project.xml?rev=395243&r1=395242&r2=395243&view=diff
==============================================================================
--- geronimo/branches/1.1/applications/console-framework/project.xml (original)
+++ geronimo/branches/1.1/applications/console-framework/project.xml Wed Apr 19 06:39:27 2006
@@ -93,5 +93,11 @@
         </dependency>
 
     </dependencies>
+
+    <build>
+        <sourceDirectory>src/java</sourceDirectory>
+    </build>
+
+
 </project>
 

Added: geronimo/branches/1.1/applications/console-framework/src/java/org/apache/geronimo/console/servlet/ContextForwardServlet.java
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/applications/console-framework/src/java/org/apache/geronimo/console/servlet/ContextForwardServlet.java?rev=395243&view=auto
==============================================================================
--- geronimo/branches/1.1/applications/console-framework/src/java/org/apache/geronimo/console/servlet/ContextForwardServlet.java
(added)
+++ geronimo/branches/1.1/applications/console-framework/src/java/org/apache/geronimo/console/servlet/ContextForwardServlet.java
Wed Apr 19 06:39:27 2006
@@ -0,0 +1,73 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed 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.
+ */
+
+package org.apache.geronimo.console.servlet;
+
+import java.io.IOException;
+
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletContext;
+import javax.servlet.ServletException;
+import javax.servlet.UnavailableException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Servlet that forwards GET and POST requests to a servlet
+ * in an alternate context. The servlet path and alternate
+ * context are passed in as configuration parameters (e.g.
+ * via <config-param> elements in the web.xml).
+ */
+public class ContextForwardServlet extends HttpServlet {
+
+    // name of the configuration parameter containing the context path
+    public static final String CONTEXT_PATH = "context-path";
+    // name of the configuration parameter containing the servlet path
+    public static final String SERVLET_PATH = "servlet-path";
+
+    private ServletContext forwardContext;
+    private String servletPath;
+
+    public void init(ServletConfig config) throws ServletException {
+        super.init(config);
+        String contextPath = config.getInitParameter(CONTEXT_PATH);
+        servletPath = config.getInitParameter(SERVLET_PATH);
+        if (contextPath == null || servletPath == null) {
+            throw new UnavailableException("context-path and servlet-path " +
+                    "must be provided as configuration parameters");
+        }
+        forwardContext = getServletContext().getContext(contextPath);
+    }
+
+    public void doGet(HttpServletRequest req, HttpServletResponse resp)
+            throws ServletException, IOException {
+        doPost(req, resp);
+    }
+
+    public void doPost(HttpServletRequest req, HttpServletResponse resp)
+            throws ServletException, IOException {
+        String dispatchURI = servletPath + (req.getPathInfo() == null ? "" : req.getPathInfo());
+        String queryString = req.getQueryString();
+        if (queryString != null) {
+            dispatchURI += "?" + queryString;
+        }
+        RequestDispatcher dispatcher = forwardContext.getRequestDispatcher(dispatchURI);
+        dispatcher.forward(req, resp);
+    }
+}

Propchange: geronimo/branches/1.1/applications/console-framework/src/java/org/apache/geronimo/console/servlet/ContextForwardServlet.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/branches/1.1/applications/console-framework/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/applications/console-framework/src/webapp/WEB-INF/web.xml?rev=395243&r1=395242&r2=395243&view=diff
==============================================================================
--- geronimo/branches/1.1/applications/console-framework/src/webapp/WEB-INF/web.xml (original)
+++ geronimo/branches/1.1/applications/console-framework/src/webapp/WEB-INF/web.xml Wed Apr
19 06:39:27 2006
@@ -30,6 +30,48 @@
         <servlet-class>org.apache.pluto.portalImpl.Servlet</servlet-class>
     </servlet>
 
+    <servlet>
+        <display-name>DWR Forward Servlet</display-name>
+        <servlet-name>dwr-forward</servlet-name>
+        <servlet-class>org.apache.geronimo.console.servlet.ContextForwardServlet</servlet-class>
+        <init-param>
+           <param-name>context-path</param-name>
+           <param-value>/console-standard</param-value>
+        </init-param>
+        <init-param>
+           <param-name>servlet-path</param-name>
+           <param-value>/dwr</param-value>
+        </init-param>
+    </servlet>
+
+    <servlet>
+        <display-name>CAR Export Forward Servlet</display-name>
+        <servlet-name>car-export-forward</servlet-name>
+        <servlet-class>org.apache.geronimo.console.servlet.ContextForwardServlet</servlet-class>
+        <init-param>
+           <param-name>context-path</param-name>
+           <param-value>/console-standard</param-value>
+        </init-param>
+        <init-param>
+           <param-name>servlet-path</param-name>
+           <param-value>/car-export</param-value>
+        </init-param>
+    </servlet>
+
+    <servlet>
+        <display-name>SVG Forward Servlet</display-name>
+        <servlet-name>svg-forward</servlet-name>
+        <servlet-class>org.apache.geronimo.console.servlet.ContextForwardServlet</servlet-class>
+        <init-param>
+           <param-name>context-path</param-name>
+           <param-value>/console-standard</param-value>
+        </init-param>
+        <init-param>
+           <param-name>servlet-path</param-name>
+           <param-value>/graphs</param-value>
+        </init-param>
+    </servlet>
+
     <servlet-mapping>
         <servlet-name>se-console</servlet-name>
         <url-pattern>/portal/*</url-pattern>
@@ -38,10 +80,25 @@
         <servlet-name>se-console</servlet-name>
         <url-pattern>/secure/*</url-pattern>
     </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>dwr-forward</servlet-name>
+        <url-pattern>/dwr/*</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>car-export-forward</servlet-name>
+        <url-pattern>/car-export</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>svg-forward</servlet-name>
+        <url-pattern>/graphs/*</url-pattern>
+    </servlet-mapping>
 
     <security-constraint>
         <web-resource-collection>
             <web-resource-name></web-resource-name>
+            <url-pattern>/dwr/*</url-pattern>
+            <url-pattern>/car-export</url-pattern>
+            <url-pattern>/graphs/*</url-pattern>
             <url-pattern>/portal/*</url-pattern>
             <http-method>GET</http-method>
             <http-method>POST</http-method>

Added: geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/servlet/ForwardDispatchFilter.java
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/servlet/ForwardDispatchFilter.java?rev=395243&view=auto
==============================================================================
--- geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/servlet/ForwardDispatchFilter.java
(added)
+++ geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/servlet/ForwardDispatchFilter.java
Wed Apr 19 06:39:27 2006
@@ -0,0 +1,98 @@
+/**
+ *
+ * Copyright 2003-2004 The Apache Software Foundation
+ *
+ *  Licensed 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.
+ */
+
+package org.apache.geronimo.console.servlet;
+
+import java.io.IOException;
+
+import javax.servlet.Filter;
+import javax.servlet.FilterChain;
+import javax.servlet.FilterConfig;
+import javax.servlet.ServletException;
+import javax.servlet.ServletRequest;
+import javax.servlet.ServletResponse;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletRequestWrapper;
+
+/**
+ * Filter that wrappers HTTP requests forwarded from a separate
+ * context via a named request dispatcher.  The wrapped HTTP
+ * requests return attributes from the original request instead
+ * of the forwarded instance of the request. Deployment
+ * descriptors that use this filter should specify "FORWARD" as
+ * the dispatcher type in their filter-mapping elements, as per
+ * the 2.4 Servlet Specification. e.g.
+ * 
+ *     <pre>
+ *     <filter-mapping>
+ *        <filter-name>myfilter</filter-name>
+ *        <servlet-name>myservlet</servlet-name>
+ *        <dispatcher>FORWARD</dispatcher>
+ *     </filter-mapping>
+ *     </pre>
+ *     
+ */
+public class ForwardDispatchFilter implements Filter {
+
+    protected FilterConfig filterConfig;
+    
+    public void init(FilterConfig config) throws ServletException {
+        filterConfig = config;
+    }
+
+    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
throws IOException, ServletException {
+        if (request instanceof HttpServletRequest) {
+            chain.doFilter(new ForwardRequest((HttpServletRequest)request), response);
+        } else {
+            throw new ServletException("ServletRequest is not an instance of HttpServletRequest");
+        }
+    }
+
+    public void destroy() {}
+    
+    /* An HTTP servlet request wrapper that maps the following
+     * attributes from the original request
+     *  
+     * # javax.servlet.forward.request_uri
+     * # javax.servlet.forward.context_path
+     * # javax.servlet.forward.servlet_path
+     * # javax.servlet.forward.path_info
+     * # javax.servlet.forward.query_string
+     */
+    protected class ForwardRequest extends HttpServletRequestWrapper {
+        HttpServletRequest request;
+        public ForwardRequest(HttpServletRequest req) {
+            super(req);
+            request = req;
+        }
+        public String getRequestURI() {
+            return String.valueOf(request.getAttribute("javax.servlet.forward.request_uri"));

+        }
+        public String getContextPath() {
+            return String.valueOf(request.getAttribute("javax.servlet.forward.context_path"));

+        }
+        public String getServletPath() {
+            return String.valueOf(request.getAttribute("javax.servlet.forward.servlet_path"));

+        }
+        public String getPathInfo() {
+            return String.valueOf(request.getAttribute("javax.servlet.forward.path_info"));

+        }
+        public String getQueryString() {
+            return String.valueOf(request.getAttribute("javax.servlet.forward.query_string"));

+        }
+    }
+}

Propchange: geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/servlet/ForwardDispatchFilter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/car/index.jsp
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/car/index.jsp?rev=395243&r1=395242&r2=395243&view=diff
==============================================================================
--- geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/car/index.jsp
(original)
+++ geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/car/index.jsp
Wed Apr 19 06:39:27 2006
@@ -35,7 +35,8 @@
    <i>Note: at present, you must manually add a <tt>META-INF/geronimo-plugin.xml</tt>
    file to the CAR after you export it in order for it to be a valid plugin.</i></p>
 
-<form action="<%=request.getContextPath()%>/car-export">
+<%-- todo: calculate the /console prefix somehow --%>
+<form action="/console/car-export">
     <select name="configId">
         <option />
       <c:forEach var="config" items="${configurations}">

Modified: geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp?rev=395243&r1=395242&r2=395243&view=diff
==============================================================================
--- geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
(original)
+++ geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
Wed Apr 19 06:39:27 2006
@@ -1,9 +1,12 @@
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<%@ page import="org.apache.geronimo.console.util.PortletManager" %>
+
+<% String dwrForwarderServlet = PortletManager.getConsoleFrameworkServletPath(request)
+ "/../dwr"; %>
+<script type='text/javascript' src='<%= dwrForwarderServlet %>/interface/Jsr77Stats.js'></script>
+<script type='text/javascript' src='<%= dwrForwarderServlet %>/engine.js'></script>
+<script type='text/javascript' src='<%= dwrForwarderServlet %>/util.js'></script>
 
-<script type='text/javascript' src='/console-standard/dwr/interface/Jsr77Stats.js'></script>
-<script type='text/javascript' src='/console-standard/dwr/engine.js'></script>
-<script type='text/javascript' src='/console-standard/dwr/util.js'></script>
 
 <portlet:defineObjects/>
 
@@ -130,5 +133,7 @@
 <portlet:namespace/>callServer();
 </script>
 
-<embed src="/console-standard/graphs/memoryGraphSVG.jsp"
-       width="600" height="450" type="image/svg+xml" />
+<%-- todo: calculate the /console prefix somehow --%>
+<embed src="/console/graphs/memoryGraphSVG.jsp"
+       width="600" height="450" type="image/svg+xml"
+       pluginspage="http://www.adobe.com/svg/viewer/install/" />

Modified: geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/web.xml?rev=395243&r1=395242&r2=395243&view=diff
==============================================================================
--- geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/web.xml (original)
+++ geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/web.xml Wed Apr
19 06:39:27 2006
@@ -933,6 +933,27 @@
         <servlet-name>BPMStatistics</servlet-name>
         <url-pattern>/BPMStatistics/*</url-pattern>
     </servlet-mapping>
+    
+    <security-constraint>
+        <web-resource-collection>
+            <web-resource-name></web-resource-name>
+            <url-pattern>/</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-properties-realm</realm-name>
+    </login-config>
+    <security-role>
+        <role-name>admin</role-name>
+    </security-role>
+    
 
     <servlet-mapping>
         <servlet-name>JMSManager</servlet-name>
@@ -1038,5 +1059,23 @@
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
     </resource-ref> -->
+
+    <!-- 
+    For security reasons requests to the dwr servlet go through
+    the "console" web-app context. The purpose of dwr-filter is
+    to map the attributes such as pathInfo, requestURI, etc. of
+    the original request into the request that is delivered to
+    the dwr-invoker servlet.  The dwr-invoker servlet uses those
+    attributes to create URLs that it sends back to the client.
+     -->    
+    <filter>
+        <filter-name>dwr-filter</filter-name>
+        <filter-class>org.apache.geronimo.console.servlet.ForwardDispatchFilter</filter-class>
+    </filter>
+    <filter-mapping>
+        <filter-name>dwr-filter</filter-name>
+        <servlet-name>dwr-invoker</servlet-name>
+        <dispatcher>FORWARD</dispatcher>
+    </filter-mapping>
 
 </web-app>

Propchange: geronimo/branches/1.1/assemblies/minimal-tomcat-server/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Apr 19 06:39:27 2006
@@ -0,0 +1,2 @@
+target
+velocity*

Modified: geronimo/branches/1.1/configs/console-jetty/src/plan/plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/configs/console-jetty/src/plan/plan.xml?rev=395243&r1=395242&r2=395243&view=diff
==============================================================================
--- geronimo/branches/1.1/configs/console-jetty/src/plan/plan.xml (original)
+++ geronimo/branches/1.1/configs/console-jetty/src/plan/plan.xml Wed Apr 19 06:39:27 2006
@@ -26,18 +26,6 @@
             <context-root>/console</context-root>
             <context-priority-classloader>false</context-priority-classloader>
             <security-realm-name>geronimo-properties-realm</security-realm-name>
-            <security>
-                <default-principal realm-name="geronimo-properties-realm">
-                    <principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
name="system"/>
-                </default-principal>
-                <role-mappings>
-                    <role role-name="admin">
-                        <realm realm-name="geronimo-properties-realm">
-                            <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
name="admin" designated-run-as="true"/>
-                        </realm>
-                    </role>
-                </role-mappings>
-            </security>
         </web-app>
     </module>
 
@@ -46,8 +34,22 @@
         <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.1">
             <context-root>/console-standard</context-root>
             <context-priority-classloader>false</context-priority-classloader>
+            <security-realm-name>geronimo-properties-realm</security-realm-name>
         </web-app>
     </module>
+
+    <security>
+        <default-principal realm-name="geronimo-properties-realm">
+            <principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
name="system"/>
+        </default-principal>
+        <role-mappings>
+            <role role-name="admin">
+                <realm realm-name="geronimo-properties-realm">
+                    <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
name="admin" designated-run-as="true"/>
+                </realm>
+            </role>
+        </role-mappings>
+    </security>
 
     <!-- Console specific server info -->
     <gbean name="PropertiesLoginManager" class="org.apache.geronimo.console.core.security.PropertiesLoginModuleManager">

Modified: geronimo/branches/1.1/configs/console-tomcat/src/plan/plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/configs/console-tomcat/src/plan/plan.xml?rev=395243&r1=395242&r2=395243&view=diff
==============================================================================
--- geronimo/branches/1.1/configs/console-tomcat/src/plan/plan.xml (original)
+++ geronimo/branches/1.1/configs/console-tomcat/src/plan/plan.xml Wed Apr 19 06:39:27 2006
@@ -27,18 +27,6 @@
             <context-priority-classloader>false</context-priority-classloader>
             <cross-context/>
             <security-realm-name>geronimo-properties-realm</security-realm-name>
-            <security>
-                <default-principal realm-name="geronimo-properties-realm">
-                    <principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
name="system"/>
-                </default-principal>
-                <role-mappings>
-                    <role role-name="admin">
-                        <realm realm-name="geronimo-properties-realm">
-                            <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
name="admin" designated-run-as="true"/>
-                        </realm>
-                    </role>
-                </role-mappings>
-            </security>
         </web-app>
     </module>
 
@@ -48,9 +36,27 @@
             <context-root>/console-standard</context-root>
             <context-priority-classloader>false</context-priority-classloader>
             <cross-context/>
+            <security-realm-name>geronimo-properties-realm</security-realm-name>
         </web-app>
     </module>
 
+    <security>
+    	<default-principal realm-name="geronimo-properties-realm">
+    		<principal
+    			class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"
+    			name="system" />
+    	</default-principal>
+    	<role-mappings>
+    		<role role-name="admin">
+    			<realm realm-name="geronimo-properties-realm">
+    				<principal
+    					class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
+    					name="admin" designated-run-as="true" />
+    			</realm>
+    		</role>
+    	</role-mappings>
+    </security>
+
     <!-- Console specific server info -->
     <gbean name="PropertiesLoginManager" class="org.apache.geronimo.console.core.security.PropertiesLoginModuleManager">
         <reference name="ServerInfo">
@@ -72,4 +78,4 @@
         </reference>
     </gbean>
 
-</application>
+</application>
\ No newline at end of file

Propchange: geronimo/branches/1.1/configs/sharedlib/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Apr 19 06:39:27 2006
@@ -0,0 +1,2 @@
+target
+velocity*

Propchange: geronimo/branches/1.1/configs/unavailable-client-deployer/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Apr 19 06:39:27 2006
@@ -0,0 +1,2 @@
+target
+velocity*

Propchange: geronimo/branches/1.1/configs/unavailable-ejb-deployer/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Apr 19 06:39:27 2006
@@ -0,0 +1,2 @@
+target
+velocity*

Propchange: geronimo/branches/1.1/configs/unavailable-webservices-deployer/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Apr 19 06:39:27 2006
@@ -0,0 +1,2 @@
+target
+velocity*



Mime
View raw message