portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r774201 - in /portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF: min-pages/page.security pages/p002.psml pages/page.security
Date Wed, 13 May 2009 05:10:01 GMT
Author: taylor
Date: Wed May 13 05:10:01 2009
New Revision: 774201

URL: http://svn.apache.org/viewvc?rev=774201&view=rev
Log:
https://issues.apache.org/jira/browse/JS2-998
The SSO demo page was accessible for guest users. A better demo is to configure specific credentials
for specific users, protecting completely from guests, and providing any valid user access
(with the new 'user-edit') constraint to both edit and viewing of the page and portlets.

Modified:
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/page.security
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/p002.psml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/page.security

Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/page.security
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/page.security?rev=774201&r1=774200&r2=774201&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/page.security
(original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/min-pages/page.security
Wed May 13 05:10:01 2009
@@ -28,6 +28,13 @@
   </security-constraints-def>
   <global-security-constraints-ref>admin</global-security-constraints-ref>
 
+  <security-constraints-def name="user-edit">
+    <security-constraint>
+      <roles>user</roles>
+      <permissions>view,edit</permissions>
+    </security-constraint>
+  </security-constraints-def>
+
   <!-- define public constraints -->
   <security-constraints-def name="public-view">
     <security-constraint>

Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/p002.psml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/p002.psml?rev=774201&r1=774200&r2=774201&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/p002.psml
(original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/p002.psml
Wed May 13 05:10:01 2009
@@ -49,6 +49,6 @@
 		</fragment>
 	</fragment>
 	<security-constraints>
-		<security-constraints-ref>public-edit</security-constraints-ref>
+		<security-constraints-ref>user-edit</security-constraints-ref>
 	</security-constraints>
 </page>

Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/page.security
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/page.security?rev=774201&r1=774200&r2=774201&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/page.security
(original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/pages/page.security
Wed May 13 05:10:01 2009
@@ -44,6 +44,13 @@
     </security-constraint>
   </security-constraints-def>
 
+  <security-constraints-def name="user-edit">
+    <security-constraint>
+      <roles>user</roles>
+      <permissions>view,edit</permissions>
+    </security-constraint>
+  </security-constraints-def>
+
   <!-- define public constraints -->
   <security-constraints-def name="public-view">
     <security-constraint>



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