portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r329121 - in /portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly: deployment.xml jetspeed-services.xml
Date Fri, 28 Oct 2005 06:18:50 GMT
Author: taylor
Date: Thu Oct 27 23:18:48 2005
New Revision: 329121

URL: http://svn.apache.org/viewcvs?rev=329121&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-384
grant default permissions on deploy
revote them on undeploy
default permissions are configurable in the pam assembly

Modified:
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/deployment.xml
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-services.xml

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/deployment.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/deployment.xml?rev=329121&r1=329120&r2=329121&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/deployment.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/deployment.xml Thu Oct 27 23:18:48
2005
@@ -42,9 +42,17 @@
   	   <constructor-arg><ref bean="org.apache.jetspeed.components.portletregistry.PortletRegistry"/></constructor-arg>
   	   <constructor-arg><ref bean="org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent"/></constructor-arg>
   	   <constructor-arg><ref bean="org.apache.jetspeed.container.window.PortletWindowAccessor"/></constructor-arg>
-  	   <property name="searchEngine"><ref bean="org.apache.jetspeed.search.SearchEngine"/></property>
+  	   <constructor-arg><ref bean="org.apache.jetspeed.security.PermissionManager"/></constructor-arg>
      
+  	   <constructor-arg><ref bean="org.apache.jetspeed.search.SearchEngine"/></constructor-arg>
             
+  	   <constructor-arg><ref bean="org.apache.jetspeed.security.RoleManager"/></constructor-arg>
                    
+       <!-- role principals to assign a default permission(s) during deployment of a Portlet
Application -->
+       <constructor-arg >
+         <list>
+            <value>user</value>
+         </list>
+       </constructor-arg>
+
    <!-- optional configuration for automatic creation of not yet existing roles as defined
in the deployed web.xml:
-       <property name="roleManager"><ref bean="org.apache.jetspeed.security.RoleManager"/></property>
        <property name="autoCreateRoles"><value>true</value></property>
    -->      
   </bean>

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-services.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-services.xml?rev=329121&r1=329120&r2=329121&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-services.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/assembly/jetspeed-services.xml Thu Oct 27
23:18:48 2005
@@ -77,6 +77,9 @@
 		  <entry key="DecorationLocator">
             <ref bean="DecorationLocator"/>
           </entry>		  
+		  <entry key="PermissionManager">
+            <ref bean="org.apache.jetspeed.security.PermissionManager"/>
+          </entry>		            
   	   	</map>
   	   </constructor-arg>
   </bean>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message