incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r160463 - in incubator/graffito/trunk/jetspeed2-deploy: .classpath project.xml src/java/org/apache/portals/jetspeed/valve/GraffitoContextValve.java src/pages/graffito-samples.psml
Date Thu, 07 Apr 2005 20:33:53 GMT
Author: clombart
Date: Thu Apr  7 13:33:52 2005
New Revision: 160463

URL: http://svn.apache.org/viewcvs?view=rev&rev=160463
Log:
* Update J2 dependencies
* Use timestamp for dates
* Drop security restriction for the graffito portlets. By this way, anonymous user can see
it

Modified:
    incubator/graffito/trunk/jetspeed2-deploy/.classpath
    incubator/graffito/trunk/jetspeed2-deploy/project.xml
    incubator/graffito/trunk/jetspeed2-deploy/src/java/org/apache/portals/jetspeed/valve/GraffitoContextValve.java
    incubator/graffito/trunk/jetspeed2-deploy/src/pages/graffito-samples.psml

Modified: incubator/graffito/trunk/jetspeed2-deploy/.classpath
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/jetspeed2-deploy/.classpath?view=diff&r1=160462&r2=160463
==============================================================================
--- incubator/graffito/trunk/jetspeed2-deploy/.classpath (original)
+++ incubator/graffito/trunk/jetspeed2-deploy/.classpath Thu Apr  7 13:33:52 2005
@@ -5,11 +5,11 @@
   </classpathentry>
   <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
   </classpathentry>
-  <classpathentry kind="var" path="MAVEN_REPO/jetspeed2/jars/jetspeed-2.0-a1-dev.jar">
+  <classpathentry kind="var" path="MAVEN_REPO/jetspeed2/jars/jetspeed-2.0-M3-dev.jar">
   </classpathentry>
-  <classpathentry kind="var" path="MAVEN_REPO/jetspeed2/jars/jetspeed-api-2.0-a1-dev.jar">
+  <classpathentry kind="var" path="MAVEN_REPO/jetspeed2/jars/jetspeed-api-2.0-M3-dev.jar">
   </classpathentry>
-  <classpathentry kind="var" path="MAVEN_REPO/jetspeed2/jars/jetspeed-components-2.0-a1-dev.jar">
+  <classpathentry kind="var" path="MAVEN_REPO/jetspeed2/jars/jetspeed-components-2.0-M3-dev.jar">
   </classpathentry>
   <classpathentry kind="var" path="MAVEN_REPO/graffito/jars/graffito-commons-1.0-a1-dev.jar">
   </classpathentry>

Modified: incubator/graffito/trunk/jetspeed2-deploy/project.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/jetspeed2-deploy/project.xml?view=diff&r1=160462&r2=160463
==============================================================================
--- incubator/graffito/trunk/jetspeed2-deploy/project.xml (original)
+++ incubator/graffito/trunk/jetspeed2-deploy/project.xml Thu Apr  7 13:33:52 2005
@@ -36,19 +36,19 @@
     <dependency>
       <id>jetspeed</id>
       <groupId>jetspeed2</groupId>
-      <version>2.0-a1-dev</version>
+      <version>2.0-M3-dev</version>
     </dependency>   
 	
      <dependency>
       <id>jetspeed-api</id>
       <groupId>jetspeed2</groupId>
-      <version>2.0-a1-dev</version>
+      <version>2.0-M3-dev</version>
     </dependency> 
 
      <dependency>
       <id>jetspeed-components</id>
       <groupId>jetspeed2</groupId>
-      <version>2.0-a1-dev</version>
+      <version>2.0-M3-dev</version>
     </dependency> 
 		
     <dependency>  

Modified: incubator/graffito/trunk/jetspeed2-deploy/src/java/org/apache/portals/jetspeed/valve/GraffitoContextValve.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/jetspeed2-deploy/src/java/org/apache/portals/jetspeed/valve/GraffitoContextValve.java?view=diff&r1=160462&r2=160463
==============================================================================
--- incubator/graffito/trunk/jetspeed2-deploy/src/java/org/apache/portals/jetspeed/valve/GraffitoContextValve.java
(original)
+++ incubator/graffito/trunk/jetspeed2-deploy/src/java/org/apache/portals/jetspeed/valve/GraffitoContextValve.java
Thu Apr  7 13:33:52 2005
@@ -66,7 +66,14 @@
     
     protected Subject getSubject(RequestContext request)
     {
-        return getSubjectFromSession(request);
+        try 
+        {
+            return getSubjectFromSession(request);
+        }
+        catch(Exception e)
+        {
+            return null;
+        }
     }
     
     protected Principal getUserPrincipal(RequestContext context)

Modified: incubator/graffito/trunk/jetspeed2-deploy/src/pages/graffito-samples.psml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/jetspeed2-deploy/src/pages/graffito-samples.psml?view=diff&r1=160462&r2=160463
==============================================================================
--- incubator/graffito/trunk/jetspeed2-deploy/src/pages/graffito-samples.psml (original)
+++ incubator/graffito/trunk/jetspeed2-deploy/src/pages/graffito-samples.psml Thu Apr  7 13:33:52
2005
@@ -1,8 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <page id="/graffito-samples.psml" hidden="false">
-    <security-constraints>
-        <security-constraints-ref>user</security-constraints-ref>
-    </security-constraints>
     <title>Graffito Tree</title>
     <short-title>Graffito Tree</short-title>
     <defaults skin="orange" layout-decorator="tigris" portlet-decorator="tigris" />



Mime
View raw message