incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r225701 - in /incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl: AbstractSecurityTestcase.java CmsAccessControllerImpl.java CmsPermissionCollection.java CmsPermissionImpl.java GraffitoAction.java
Date Thu, 28 Jul 2005 05:41:49 GMT
Author: clombart
Date: Wed Jul 27 22:41:45 2005
New Revision: 225701

URL: http://svn.apache.org/viewcvs?rev=225701&view=rev
Log:
Review object model (see GRFT-25)

Modified:
    incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/AbstractSecurityTestcase.java
    incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsAccessControllerImpl.java
    incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsPermissionCollection.java
    incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsPermissionImpl.java
    incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/GraffitoAction.java

Modified: incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/AbstractSecurityTestcase.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/AbstractSecurityTestcase.java?rev=225701&r1=225700&r2=225701&view=diff
==============================================================================
--- incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/AbstractSecurityTestcase.java
(original)
+++ incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/AbstractSecurityTestcase.java
Wed Jul 27 22:41:45 2005
@@ -31,7 +31,6 @@
 import org.apache.jetspeed.security.AuthenticationProvider;
 import org.apache.jetspeed.security.AuthenticationProviderProxy;
 import org.apache.jetspeed.security.GroupManager;
-
 import org.apache.jetspeed.security.RoleManager;
 import org.apache.jetspeed.security.SecurityException;
 import org.apache.jetspeed.security.SecurityProvider;
@@ -46,12 +45,11 @@
 import org.apache.jetspeed.security.spi.SecurityAccess;
 import org.apache.jetspeed.security.spi.SecurityMappingHandler;
 import org.apache.jetspeed.security.spi.UserSecurityHandler;
-
-import org.apache.portals.graffito.ContentPermissionService;
-import org.apache.portals.graffito.context.impl.CmsRequestContextImpl;
-import org.apache.portals.graffito.persistence.impl.PersistenceSupportedTestCase;
 import org.apache.portals.graffito.context.CmsRequestContext;
 import org.apache.portals.graffito.context.CmsRequestContextManager;
+import org.apache.portals.graffito.context.impl.CmsRequestContextImpl;
+import org.apache.portals.graffito.persistence.impl.PersistenceSupportedTestCase;
+import org.apache.portals.graffito.services.core.ContentPermissionService;
 
 
 /**
@@ -146,7 +144,7 @@
 
         
         // Authorization.
-        pms = (ContentPermissionService) ctx.getBean("org.apache.portals.graffito.ContentPermissionService");
+        pms = (ContentPermissionService) ctx.getBean("org.apache.portals.graffito.services.core.ContentPermissionService");
         //Policy policy = new RdbmsPolicy(pms);
         //new AuthorizationProviderImpl(policy);
         

Modified: incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsAccessControllerImpl.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsAccessControllerImpl.java?rev=225701&r1=225700&r2=225701&view=diff
==============================================================================
--- incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsAccessControllerImpl.java
(original)
+++ incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsAccessControllerImpl.java
Wed Jul 27 22:41:45 2005
@@ -17,9 +17,9 @@
 
 import javax.security.auth.Subject;
 
-import org.apache.portals.graffito.security.CmsAccessController;
 import org.apache.portals.graffito.context.CmsRequestContextManager;
-import org.apache.portals.graffito.model.CmsObject;
+import org.apache.portals.graffito.model.core.CmsObject;
+import org.apache.portals.graffito.security.CmsAccessController;
 
 /**
  * Default implementation for {@link org.apache.portals.graffito.security.CmsAccessController
}

Modified: incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsPermissionCollection.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsPermissionCollection.java?rev=225701&r1=225700&r2=225701&view=diff
==============================================================================
--- incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsPermissionCollection.java
(original)
+++ incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsPermissionCollection.java
Wed Jul 27 22:41:45 2005
@@ -15,12 +15,11 @@
  */
 package org.apache.portals.graffito.security.impl;
 
-import java.util.Collections;
-
 import java.security.Permission;
 import java.security.PermissionCollection;
-import java.util.Enumeration;
 import java.util.ArrayList;
+import java.util.Collections;
+import java.util.Enumeration;
 import java.util.Iterator;
 
 /**

Modified: incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsPermissionImpl.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsPermissionImpl.java?rev=225701&r1=225700&r2=225701&view=diff
==============================================================================
--- incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsPermissionImpl.java
(original)
+++ incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/CmsPermissionImpl.java
Wed Jul 27 22:41:45 2005
@@ -20,7 +20,7 @@
 import java.util.Collection;
 import java.util.StringTokenizer;
 
-import org.apache.portals.graffito.model.CmsPermission;
+import org.apache.portals.graffito.model.permission.CmsPermission;
 
 /**
  *  CMS Permissions

Modified: incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/GraffitoAction.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/GraffitoAction.java?rev=225701&r1=225700&r2=225701&view=diff
==============================================================================
--- incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/GraffitoAction.java
(original)
+++ incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/security/impl/GraffitoAction.java
Wed Jul 27 22:41:45 2005
@@ -18,7 +18,7 @@
 import java.security.AccessController;
 import java.security.PrivilegedAction;
 
-import org.apache.portals.graffito.model.CmsPermission;
+import org.apache.portals.graffito.model.permission.CmsPermission;
 
 
 /**



Mime
View raw message