portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r331222 - /portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/AbstractPageManager.java
Date Mon, 07 Nov 2005 06:08:00 GMT
Author: taylor
Date: Sun Nov  6 22:07:59 2005
New Revision: 331222

URL: http://svn.apache.org/viewcvs?rev=331222&view=rev
Log:
re-enabling security copying on pages, now that db manager is ready

Modified:
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/AbstractPageManager.java

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/AbstractPageManager.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/AbstractPageManager.java?rev=331222&r1=331221&r2=331222&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/AbstractPageManager.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/AbstractPageManager.java
Sun Nov  6 22:07:59 2005
@@ -573,12 +573,12 @@
         page.setRootFragment(root);
         
         // copy security constraints
-//        SecurityConstraints srcSecurity = source.getSecurityConstraints();        
-//        if (srcSecurity != null)
-//        {
-//            SecurityConstraints copiedSecurity = copySecurityConstraints(srcSecurity);
-//            page.setSecurityConstraints(copiedSecurity);
-//        }    
+        SecurityConstraints srcSecurity = source.getSecurityConstraints();        
+        if (srcSecurity != null)
+        {
+            SecurityConstraints copiedSecurity = copySecurityConstraints(srcSecurity);
+            page.setSecurityConstraints(copiedSecurity);
+        }    
 
         // menus
 //        List menus = page.getMenuDefinitions();



---------------------------------------------------------------------
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