portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r602376 - /portals/jetspeed-2/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/layout/impl/SecurityConstraintsAction.java
Date Sat, 08 Dec 2007 09:31:29 GMT
Author: smilek
Date: Sat Dec  8 01:31:28 2007
New Revision: 602376

URL: http://svn.apache.org/viewvc?rev=602376&view=rev
Log:
The following revision comments are from branches/JETSPEED-2.1.3 revisions which were not
individually checked-in to trunk
=== ---------------------------------------------------------------- ===
[ from branches/JETSPEED-2.1.3 r595431 ] | smilek | 2007-11-15 13:21:24 -0700 (Thu, 15 Nov
2007) | 1 line

major improvements to desktop page editor (UI, config options, flow, no action layouts); support
for create-new-page-on-edit
=== ---------------------------------------------------------------- ===

Modified:
    portals/jetspeed-2/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/layout/impl/SecurityConstraintsAction.java

Modified: portals/jetspeed-2/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/layout/impl/SecurityConstraintsAction.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/layout/impl/SecurityConstraintsAction.java?rev=602376&r1=602375&r2=602376&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/layout/impl/SecurityConstraintsAction.java
(original)
+++ portals/jetspeed-2/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/layout/impl/SecurityConstraintsAction.java
Sat Dec  8 01:31:28 2007
@@ -74,6 +74,7 @@
     public boolean run(RequestContext requestContext, Map resultMap)
             throws AJAXException
     {
+    	System.out.println( "SecurityConstraintsAction run" );
         boolean success = true;
         String status = "success";
         try
@@ -120,10 +121,13 @@
         } 
         catch (Exception e)
         {
+        	System.out.println( "SecurityConstraintsAction run failure caused by " + e.getClass().getName()
+ " " + e.getMessage() );
+        	e.printStackTrace();
             log.error("exception administering portal permissions", e);
             resultMap.put(REASON, e.toString());
             success = false;
         }
+        System.out.println( "SecurityConstraintsAction complete " + resultMap.toString()
);
         return success;
     }
     
@@ -157,6 +161,8 @@
     protected int updateConstraintDefinition(RequestContext requestContext, Map resultMap)
     throws AJAXException
     {
+    	System.out.println( "SecurityConstraintsAction updateConstraintDefinition started" );
+        	
         int count = 0;
         boolean added = false;
         String xml = getActionParameter(requestContext, "xml");
@@ -232,6 +238,9 @@
         }
         catch (Exception e)
         {
+        	System.out.println( "SecurityConstraintsAction updateConstraintDefinition failure
caused by " + e.getClass().getName() + " " + e.getMessage() );
+        	e.printStackTrace();
+        	log.error( "SecurityConstraintsAction updateConstraintDefinition failure caused
by " + e.getClass().getName() + " " + e.getMessage(), e );
             throw new AJAXException(e);
         }
         return count;



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