continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r429181 - in /maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src: main/java/org/apache/maven/continuum/security/acegi/aspectj/ test/java/org/apache/maven/continuum/security/acegi/aspectj/ test/resources...
Date Sun, 06 Aug 2006 19:40:36 GMT
Author: carlos
Date: Sun Aug  6 12:40:36 2006
New Revision: 429181

URL: http://svn.apache.org/viewvc?rev=429181&view=rev
Log:
Renamed MethodSecurityAspect

Added:
    maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/aspectj/ContinuumSecurityAspect.aj
      - copied, changed from r429139, maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityAspect.aj
Removed:
    maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityAspect.aj
Modified:
    maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/java/org/apache/maven/continuum/security/acegi/aspectj/AbstractMethodSecurityTest.java
    maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/java/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityTest.java
    maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/resources/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityPlexusTest.xml

Copied: maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/aspectj/ContinuumSecurityAspect.aj
(from r429139, maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityAspect.aj)
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/aspectj/ContinuumSecurityAspect.aj?p2=maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/aspectj/ContinuumSecurityAspect.aj&p1=maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityAspect.aj&r1=429139&r2=429181&rev=429181&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityAspect.aj
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/aspectj/ContinuumSecurityAspect.aj
Sun Aug  6 12:40:36 2006
@@ -25,12 +25,12 @@
  * @author <a href="mailto:carlos@apache.org">Carlos Sanchez</a>
  * @version $Id: ContinuumUserDetailsService.java 421005 2006-07-11 22:00:29Z carlos $
  */
-public aspect MethodSecurityAspect extends SecurityAspect
+public aspect ContinuumSecurityAspect extends SecurityAspect
 {
 
     protected pointcut securedExecution():
         target(Continuum) &&
         execution(public * *(..)) &&
-        !within(MethodSecurityAspect);
+        !within(ContinuumSecurityAspect);
 
 }

Modified: maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/java/org/apache/maven/continuum/security/acegi/aspectj/AbstractMethodSecurityTest.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/java/org/apache/maven/continuum/security/acegi/aspectj/AbstractMethodSecurityTest.java?rev=429181&r1=429180&r2=429181&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/java/org/apache/maven/continuum/security/acegi/aspectj/AbstractMethodSecurityTest.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/java/org/apache/maven/continuum/security/acegi/aspectj/AbstractMethodSecurityTest.java
Sun Aug  6 12:40:36 2006
@@ -30,7 +30,7 @@
 import org.apache.maven.continuum.model.project.Project;
 
 /**
- * Test for {@link MethodSecurityAspect}
+ * Test for {@link ContinuumSecurityAspect}
  * 
  * @author <a href="mailto:carlos@apache.org">Carlos Sanchez</a>
  * @version $Id$
@@ -50,9 +50,9 @@
         return continuum;
     }
 
-    public MethodSecurityAspect getAspect()
+    public ContinuumSecurityAspect getAspect()
     {
-        return MethodSecurityAspect.aspectOf();
+        return ContinuumSecurityAspect.aspectOf();
     }
 
     /**

Modified: maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/java/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityTest.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/java/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityTest.java?rev=429181&r1=429180&r2=429181&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/java/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityTest.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/java/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityTest.java
Sun Aug  6 12:40:36 2006
@@ -30,7 +30,7 @@
 import org.codehaus.plexus.acegi.intercept.method.aspectj.AspectJSecurityInterceptorHelper;
 
 /**
- * Test for {@link MethodSecurityAspect}
+ * Test for {@link ContinuumSecurityAspect}
  * 
  * @author <a href="mailto:carlos@apache.org">Carlos Sanchez</a>
  * @version $Id$
@@ -61,9 +61,9 @@
 
         setContinuum( new ContinuumStub() );
         AspectJSecurityInterceptorHelper helper = new AspectJSecurityInterceptorHelper();
-        helper.setAspectName( "org.apache.maven.continuum.security.acegi.aspectj.MethodSecurityAspect"
);
+        helper.setAspectName( "org.apache.maven.continuum.security.acegi.aspectj.ContinuumSecurityAspect"
);
         helper.setSecurityInterceptor( si );
         helper.initialize();
-        //        aspect = MethodSecurityAspect.aspectOf();
+        //        aspect = ContinuumSecurityAspect.aspectOf();
     }
 }

Modified: maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/resources/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityPlexusTest.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/resources/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityPlexusTest.xml?rev=429181&r1=429180&r2=429181&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/resources/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityPlexusTest.xml
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/test/resources/org/apache/maven/continuum/security/acegi/aspectj/MethodSecurityPlexusTest.xml
Sun Aug  6 12:40:36 2006
@@ -78,7 +78,7 @@
         </requirement>
       </requirements>
       <configuration>
-        <aspectName>org.apache.maven.continuum.security.acegi.aspectj.MethodSecurityAspect</aspectName>
+        <aspectName>org.apache.maven.continuum.security.acegi.aspectj.ContinuumSecurityAspect</aspectName>
       </configuration>
     </component>
 



Mime
View raw message